hello...
i have a flow with 3 approvers.
if the first approves, it goes to the second, if second approves it goes to 3 and than it ends.
sometimes the second approver is not needed.
how can i accomplish if the second approver field is empty, that the flow jumps to the 3 approver step?
tx kuno
I thought you said if there was no Approver 2 it should just go on to approver 3. Do you want it to stop the flow at that point?
i almost got it...
but on the no part the workflow doesn´t stop. it goes along to the approval3 part...but it should stop
the yes part is ok
YOur condition3 should be to check the length() of the string is greater than 0, not that the string is greater than 0
i´m stuck on the condition part. it jumps always to approval3 no matter if there is greater than or less than.
an now it gives me an erro
Unable to process template language expressions for action 'Condition_3' at line '1' and column '36562': 'The template language function 'greater' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Integer' that do not match.'.
Yes, if approver2 has an email then it will do the yes side. Approver 3 should be outside the condition so it runs whether approver2 was there or not. The yes side should also include any actions that you need to do when approver2 approves or denies.
that means if the approver2 field has an email, it goes to the yes part but if there isn´t a value?
on the no part do i habe to put the approval3 inside?
and do i not have to make the outcome part?
thanks
No, the start and wait goes in the yes side of the condition. I'm assuming you are assigning the approver via a variable. That's what you test to see if its blank.
yes. but how i do this.
do i have to put the condition before the start and wait for approval 2 and than?
condition = Approver2 is equal to 0?
If you put the second approval inside a condition you can test whether the approver is blank. If it is then do nothing. If its not then do the second approval.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.