Hi,
I would like to create a condition on a workflow transition.
When a transition is moved from 'Review' to 'Approved', I would like to create a condition using Groovy Script Runner.
The condition should be;
"If amount is 100 or less"
The custom field is Numeric Field.
Can someone please help me create this short script?
Cheers,
Jason
Hi Jason,
Try something like
cfValues['Number CF'] <= 100
You can also Expand examples in the Condition that you can check.
regards, Thanos
You can ignore this error, it is because it doesn't "know" that the cfValues holds a number.
Try it and let me know.
regards, Thanos
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.