I want to have the change type automatically assigned based on lead time. For instance if lead time is 5 or more business days than change type would be set to Normal.
Page 1 / 1
Workflow, Trigger - Change is Raised
Expression 1 - Work out today + 5 - Set output to date
addDays(today(‘Asia/Kolkata’),5)
Expresssion 2 - Work out if the planned start is greater than the output of expression 1
if{{change.planned_start_date_iso}} >= {{E1.result}}, ‘Normal’, ‘ Emergency’)
That will then give you the output is true or false, and you can add a condition afterwards to set type as.
The issue you will have with doing this is IF, you have different change lifecycles, once the change is raised, it cannot “switch tracks” to another type of change. So you may find it doesn’t work the way you want it to.
Join the Community
Already have an account? Login.
Sign in to the Community
No account yet? Create an account.
Social Login
Login for Freshworks Employees Login with LinkedInor sign up below
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.