Back to Browse

How to trigger a subflow from a script? | FlowAPI | ScriptableFlowRunner | Flow Designer

5.4K views
Jun 23, 2022
23:39

See how to trigger a subflow in ServiceNow flow designer using a SERVER side script..in this example we use a UI Action script. We discuss the different flow api's we can play with: FlowAPI, ScriptableFlowRunner, GlideFlow (briefly) and take a look at how we use nifty ServiceNow flow designer features that give the code to use pre-built to trigger a flow from a script. Note: We can use this same concept to trigger: Flows Subflows Actions Useful documentation to get your head around...or just bedtime reading: https://docs.servicenow.com/bundle/sandiego-application-development/page/administer/flow-designer/concept/api-access-flow-designer.html https://docs.servicenow.com/bundle/sandiego-application-development/page/app-store/dev_portal/API_reference/ScriptableFlowAPI/concept/ScriptableFlowAPI.html https://developer.servicenow.com/dev.do#!/reference/api/sandiego/server/sn_fd-namespace/ScriptableFlowAPI https://developer.servicenow.com/dev.do#!/reference/api/sandiego/server/sn_fd-namespace/ScriptableFlowRunnerScopedAPI All done in a San Diego instance #servicenerd #flowdesigner #flowapi #scriptableflowrunner

Download

1 formats

Video Formats

360pmp429.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to trigger a subflow from a script? | FlowAPI | ScriptableFlowRunner | Flow Designer | NatokHD