Hello,
can you please give me ideas about creating a condition in a spoecific transition.
This condition is about forcing only one user to execute a transition if a custum field have a specific value .
Like if the value of the custum field is A so the user B will be the only one allowed to execute the transition.
Thanks in adavance.
HI sreenivasaraju P,
Yep i found how to set a value for a custum field but i dont know how to add the part of the user to execute the transition.
You can add a validator to the workflow that checks the condition and fails the transition otherwise. You will have to compensate for allowing the transition if the value of the field is not the specific value, though. Pseudocode for how I believe the logic would work:
if custom field = value
if user = alloweduser
return true
else
return false
else
return true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to do something similar with a Custom Field I named "Region Created" There are 3 choices, No, Empty, Yes
I want the transition to be hidden if the answer is Yes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.