Trigger a flow if subcategory is changed from 'Incident form variables'

Amey8
Tera Guru

I'm working in incident management in ServiceNow. I want to trigger the flow designer only when the subcategory is changed from the incident form variables of an existing incident.

 

I was able to put the question but 'changes' operator is not present in the list.

 

 

Amey8_0-1744711684552.png

 

 

Is there any other way this can be achieved ?

 

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Amey8 

yes changes is not available for variables.

why not check do this?

1) have after update business rule and see if that variable got updated

2) then use script to trigger your Subflow

BR Condition: After Update

current.variables.variableName.changes()

Script: check this on how to run subflow from script

Scripting with Flows, Subflows, and Actions 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@Amey8 

yes changes is not available for variables.

why not check do this?

1) have after update business rule and see if that variable got updated

2) then use script to trigger your Subflow

BR Condition: After Update

current.variables.variableName.changes()

Script: check this on how to run subflow from script

Scripting with Flows, Subflows, and Actions 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader