On my approval workflow, state one the user should...
# suiteflow
d
On my approval workflow, state one the user should select a department on the PO. There's then a transition that checks if Department = X then move on to a state that sets X as the next approver. However, can anyone suggest an error check/catch state if the department isn't one that should be allowed or approved please? I've tried an Error state so the transition here is if Department != XYZ etc AFTER SUBMIT. However, this ends in an infinite loop. Thoughts?
m
Use the Return user error action before user submit. Then they cannot continue with saving the record until department is correct
d
Done. People thought me setting field value null WHEN field = X seemed like a glitch
m
👍
I wrote a cool blog post about the Confirm, Return User Error and Show Message actions..they are all very similar but each functions a little differently if you'd like to check it out for a more in depth detail of each
👍 1
d
great website by the way
m
Thanks glad it is helpful