I have a workflow which requires a condition to be validated before transition to next status.
The condition needs to be checked is,
1)only when the ticked is assigned to assignee, the status should enable from "open" to "In progress" and following other status.
2)If ticket is not assigned to anyone, only "Cancelled" and "On Hold" status should be enabled. Could you help on writing script to satisfy this condition for workflow
