I want to control workflow transition (status to be moved) based on custom field value (whether checked or unchecked on Checkboxes). e.g. There are transitions from "Open" -> "In Progress" and from "Open" -> Resolved" and checkboxes (e.g. User Agreement). If "User Agreement" checkbox is checked, want to move from "Open" -> "Resolved". If unchecked, want to move "Open" -> "In Progress". In post function of a transition (Start Progress ("Open" -> "In Progress")), how can I configure Groovy script to realize this request? Please let me know Groovy script precisely. or, if there is another solution, please let me know it as well.
Hi,
you don't need workflow post functions but workflow conditions.
Add two transitions:
Add a workflow condition to both transitions:
In this workflow condition check for the status of your user agreement checkbox, so that only one of these two transitions is shown to the user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're welcome :-)
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.