- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2024 10:45 PM
This flow should be trigger when there is a event created but right now its not exist in flow context.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2024 11:05 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2024 11:05 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 11:53 PM
Hi Aidan
where can I find this trigger_engine.ignore.set_workflow property in servicenow ?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2024 11:13 PM
Thank you for the answer. will use create record instead.