Plan Workflow Conversion
convert_workflowPlan migration of a legacy workflow to Flow Designer by mapping activities to flow steps, flagging script-only parts, and returning a Fluent skeleton as text; read-only, no instance or disk writes.
Instructions
Plan the move of a legacy workflow to Flow Designer: how each activity maps to a flow step, what has to stay a script, and a Fluent (now-sdk) skeleton for the flow, returned as text. Read-only: nothing is written to the instance or to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Which version: current (default: your draft if you have one, else the published one), published, or draft. Ignored when workflow is a version sys_id. | |
| instance | No | The ServiceNow instance auth alias to connect to. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| workflow | Yes | The workflow's name or sys_id, or a workflow version sys_id. | |
| directory | No | Folder inside the app the skeleton is laid out for. Default src/fluent/flows. | |
| include_fluent | No | Include the generated Fluent source files. Default true. |