Why this flow not trigger when using Fire Event

Jeck Manalo
Tera Guru

This flow should be trigger when there is a event created but right now its not exist in flow context.

 

JeckManalo_0-1720763091650.png

 

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Because you are likely creating the event using gs.eventQueue or similar, this generally runs with setWorkflow(false).


You can set a system property in your instance I believe to get around this.

 

Name: trigger_engine.ignore.set_workflow

Type: True

Value: True

Having this setup allows for "Record" triggers for "Create", "Create/Update", "Updated" for events to actually trigger.

 

However, I would be very cautious of doing this and consider the flow-on effects of enabling sysevents to trigger flows. This may become undesirable.

View solution in original post

3 REPLIES 3

Community Alums
Not applicable

Because you are likely creating the event using gs.eventQueue or similar, this generally runs with setWorkflow(false).


You can set a system property in your instance I believe to get around this.

 

Name: trigger_engine.ignore.set_workflow

Type: True

Value: True

Having this setup allows for "Record" triggers for "Create", "Create/Update", "Updated" for events to actually trigger.

 

However, I would be very cautious of doing this and consider the flow-on effects of enabling sysevents to trigger flows. This may become undesirable.

Hi Aidan

 

where can I find this trigger_engine.ignore.set_workflow property in servicenow ?

 

Thank you.

Jeck Manalo
Tera Guru

Thank you for the answer. will use create record instead.