Flow Designer: dynamic stage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2022 12:16 AM
We are about to create a flow. All input parameters will be taken from GIT. The user will be in charge of creating a YAML file which will contain the information of the parameters and which ansible playbook the flow will call. The YAML file will contain as many input parameters and playbooks as required. The ServiceNow flow where we are in charge for will be generic to read this information and execute the calls. As we will not know how many 'externa' calls will be executed and we will not write for each application it's own workflow ....
Is there a way to create stages in ServiceNow which can be set dynamically like "Stage <call playbook abc>" where <call playbook abc> is a variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2022 11:24 PM
Not sure if i understood correctly but as far as i know, no new stages should be created.
if you absolutely need to, then of course, create one to sys_choice table for relevant table or so.
but, for this case, i would probably go with custom script action which will do the analyses of the payload and behave accordingly!?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2023 11:57 PM
You can create a different set of stages for each flow. I think the question here is if it is possible to dynamically set the stages when a flow is kicked off: This is useful when one flow is used to manage several items.
I have the very sames question which landed me here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2023 01:41 AM
Hi @Andreas Cierpka, @MOdijk did you guys find any solution to render stages dynamically? I am also having the same requirement, any help is greatly appreciated.