- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2025 10:50 AM
Background: we're doing a major cleanup and overhaul of stage names, standardizing names and spellings, removing duplicate stage names, etc., impacting a large number of FLOWS and WORKFLOWS. Rather than manually opening up each flow and workflow and manipulating the stages names, we've written a fix script that updates the stage tables (wf_stage, sys_hub_flow_stage, wf_stage_default, and stage_set_entry) through queries.
After updating and confirming the tables were correct, we also confirmed that the new stage names appear correctly within Flow Designer and Workflow Editor. However, the OLD stage names continue to be used in any newly generated RITMs produced by these same flows/workflows, until we take some action to trigger a recompile of the impacted flows/workflows, an action such as deactivating/activating a flow, or modifying/publishing a workflow.
The desire is to avoid manually touching dozens of individual flows and workflows, and to do this programmatically if possible.
I found that there is an API available to recompile a FLOW -
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2025 02:07 AM
Hi @tracymckibb ,
There isn’t a supported API to directly recompile legacy Workflows the way you can with Flows. For Workflows, the common approach is to programmatically update or republish them (e.g., toggling active state or using Workflow API methods) to trigger recompilation. Otherwise, manual publish/activate is required. If you’re standardizing long-term, consider migrating those processes into Flow Designer, which offers more programmatic control.
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2025 02:07 AM
Hi @tracymckibb ,
There isn’t a supported API to directly recompile legacy Workflows the way you can with Flows. For Workflows, the common approach is to programmatically update or republish them (e.g., toggling active state or using Workflow API methods) to trigger recompilation. Otherwise, manual publish/activate is required. If you’re standardizing long-term, consider migrating those processes into Flow Designer, which offers more programmatic control.
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
