Approvals - Using a variable in the Assign To field

Options

I am further refining my flow for in-kind gift form submissions.

For this process an approval process is triggered when a form is submitted. That approval can be approved by one of several people. When Approved, another process is triggered for approval from one of a different set of people. When that is approved, an email is sent to the donor and BCC to another group of staff members, all approval information is copied to an excel sheet and eventually will be automatically uploaded to RE (haven't gotten that far yet).

I want to set-up variables at the top of the flow to make it easier to update all these lists. I created a list for the BCC emails and that is working well but that is in the Send an Email action.

I am having trouble setting up the variables for use within the Approval “assign to” field. I keep getting this error:

“The request failed. Error code: 'InvalidApprovalCreateRequestAssignedToNoValidUsers'. Error Message: 'Required field 'assignedTo' contained no valid users in the organization'.”

I copied and pasted each email address to make sure there are spelling errors so I know they are all correct. I have run the process with only my email address without a problem it is only when I add additional email addresses that I get the error.

This is what I did:

I created “Initialize Variable Verification Team” as a String then entered the email address (example: me@organization.org,manager@organization.org)

Then I created “Compose Verification Team” and linked to “Initialize Variable Verification Team”

Then in the “Start and Wait for Approval - Verification” in the Assign to field I put outputs('Compose_Verification_Team')

Comments

Categories