- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2020 02:09 PM
I believe this is fixed in Paris.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2020 04:35 AM
I believe so, too, but I haven't yet proved it out. The enhancement request I mentioned above was converted to an idea, and on 27Oct2020, I received an email from the Community Team stating the following:
The state of idea Prevent flows/workflows from running when GlideRecord setWorkflow(false) is used has been marked as Already exists
This idea was implemented via PRB1381927: https://hi.service-now.com/nav_to.do?uri=problem.do?sys_id=76240fdfdb1ec810feb1a851ca96196a
When I tried looking at the PRB, I didn't have access. In addition, I reviewed the Paris release notes and didn't find reference to this PRB. I could have missed it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 10:38 AM
tested this with one of my custom tables (on the GLOBAL scope). It works fine. The setWorkflow(false) method prevents the insertion of records into the sys_flow_context and sys_flow_plan_context_binding tables, which means that the flow I have set up (to trigger on update of a record in the custom table) is not getting triggered
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 11:53 PM - edited 05-17-2023 11:55 PM
Hello @Karthick Nagara ,
I'm facing one issue where there is an existing line "current.setWorkflow(false);" present in After update Business rule and it's stopping the flow designer to run the flow when we submit a record from draft state is there any other way we could trigger flow without removing this line of code.
Your inputs would be highly helpful.
Thank you,
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 02:33 AM
System Property 'trigger_engine.ignore.set_workflow'
Incase you wondered why a flow triggers when you add a setWorkflow(false) to a script