I'm creating my first flow with the intention of having two managers approve an asset transfer, in order, then email someone in our finance team a copy of the approval form.
The approval form exists, I created a required column for the "To" and "From" (departments) managers, and the flow I've built looks like it should work.
Unfortunately, there's an error message under the second "Start an approval" step if the initial manager says "Yes". "Cannot evaluate the parameter 'type' at design-time; it is empty or has a runtime expression." is what I'm seeing and I've included a screenshot of both the Flow and the List that the Flow pulls from.
Please let me know if I can provide any more information and please let me know what final steps need to be taken in order to make this flow work.
Could you share detailed configuration of the two Start an approval actions?
About the error message “Required field ‘assignedTo’ is mission, empty, or contained no valid users” means that there is something wrong with the user Assigned to field.
I guess that you have filled in this field with dynamic content of Compose Output. However, dynamic content From will not return a valid email address that can be used for AssignedTo. Please try to use dynamic content “From email” instead of From.
About the error message “cannot evaluate parameter type at design-time”, it seems that you are trying to use the Output of Compose2 for the Approval type.
Please select the approval type from the dropdown list.
Besides, the same with action Compose, please use To email in Compose2 then select the Output of Compose2 for the AssignedTo field of Start an approval2.
Please check the following flow for more details:
"From email" and "To email" are the fileds I'm using in the Compose sections.
If the "Approval type" is "Anyone from the assigned list" would that mean that any manager who has ever been in the list could approve the transfer? The goal here is for myself to upload the document, get approval from the two managers I select, then send it off to finance after only those two managers have approved the transfer in order.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
Check out the community blog page where you can find valuable learning material from community and product team members!