I have a form with three status. (Closed, Rejected, and Canceled). I want a separate e-mail for each status. I'm using the Run If for each status in the workflow. Closed status is in the first Run If, followed by Rejected, then Canceled in the remaining two Run If's. Only the Run If in the first position (Closed) is operation correctly. Rejected and Canceled do not fire and the workflow ends without sending the applicable e-mail. Is there something else I need to add/configure for a workflow having multiple Run If's and looking at the same field? Thank you!
Solved! Go to Solution.
Can you use a "Log to History" action to log out the variable you are comparing in the RUN IF to make sure in fact that it is the value you are expecting it to be? Log it out before you enter your first Run IF. Configuration screen shots would also be helpful as mentioned above.
For further advice we need more information from your actions configuration as Cassy and Mike already said.
Besides of this, also think about making your workflow a bit more compact. Instead of doing basically the same three times in a row, your constellation could be a switch:
This structure will help users to follow your workflow better and makes it easier to maintain.
Just note with the switch that the comparison is case-sensitive so if the status is "closed" no match would be found and the entire switch action and contents would be missing. I would always add the "other" branch with a switch for de-bugging/error catching purposes
seems not very complicated to me so it should work. Did you try to log the value of Status of Request to the workflow history as Mike suggested?