Hello,
I'm still learning so please bear with me... I'm trying to create an approval flow where 2/3 approvals are needed in order for it to continue. I mirrored my approach to a post listed here. However, I'm receiving an error stating, "Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The action(s) 'Compose 2, Compose 4' referenced by 'inputs' in action 'Condition' are not defined in the template"
What am I missing?
Solved! Go to Solution.
Hi @Shane7,
Please take attention two points, one is the variable of action name in expression, the blank should use "_" instead of, the other is add() function only support two Parameters added, so you should add two add() function to add three number.
add(add(outputs('Compose_1'),outputs('Compose_2')),outputs('Compose_3'))
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can you paste the expressions you are using in 2 & 4 please?
Compose 2 =
Did you consider doing it this way?
Correct me if I'm wrong but with that method it requires all recipients to approve no?
My goal is that the flow will still work if only 2/3 members approve.
Yep, everyone will need to respond to that one. I'll try replicate your scenario in my test environment. What is the expression you have in the condition?
Condition:
Hi @Shane7,
Please take attention two points, one is the variable of action name in expression, the blank should use "_" instead of, the other is add() function only support two Parameters added, so you should add two add() function to add three number.
add(add(outputs('Compose_1'),outputs('Compose_2')),outputs('Compose_3'))
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Edit: I figured out what I was doing wrong, thank you everyone for your help
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
36 | |
15 | |
15 | |
13 | |
8 |
User | Count |
---|---|
42 | |
33 | |
25 | |
13 | |
12 |