# Split Options

Manages the split options for split steps in a workflow.

## Get All Split Options

 - [GET /workflows/{workflowId}/steps/{stepId}/splitOptions](https://docs.ruckus.cloud/api/workflow-api-0.0.4_1/split-options/getallsplitstepoptionsforstep.md): Retrieves all of the split options for the split step.

## Creates Split Option

 - [POST /workflows/{workflowId}/steps/{stepId}/splitOptions](https://docs.ruckus.cloud/api/workflow-api-0.0.4_1/split-options/createoption.md): Creates a new split option for a split step, defining a branching path in the workflow. A split option represents a conditional branch that users can take based on the evaluation of an enrollment action. The new option is automatically added to the end of the existing options list and will be processed in the order they were created. Each split option requires a unique name within the split step and must reference a valid enrollment action that matches the split step's action type. The operation is asynchronous and returns a request ID for tracking the creation process. Split options enable conditional workflow branching where different user paths can lead to different subsequent steps.

## Creates Step Under Split Option

 - [POST /workflows/{workflowId}/steps/{stepId}/splitOptions/{optionId}/nextSteps](https://docs.ruckus.cloud/api/workflow-api-0.0.4_1/split-options/createnextstepforoption.md): Creates a new step that will be executed when a specific split option is selected by the user. This operation allows you to define the workflow path that follows a particular split option. If no step is currently assigned to the option, the new step becomes the immediate next step for that option. If a step already exists for the option, the new step is inserted before the existing step, creating a sequential flow. The operation requires a valid action definition that matches the step type being created. This enables complex branching workflows where different split option choices lead to different sequences of steps. The operation is asynchronous and returns a request ID for tracking the creation process.

## Get Split Option

 - [GET /workflows/{workflowId}/steps/{stepId}/splitOptions/{optionId}](https://docs.ruckus.cloud/api/workflow-api-0.0.4_1/split-options/getsplitstepoptionbyid.md): Retrieves the split option by id.

## Delete Split Option

 - [DELETE /workflows/{workflowId}/steps/{stepId}/splitOptions/{optionId}](https://docs.ruckus.cloud/api/workflow-api-0.0.4_1/split-options/deletesplitoption.md): Deletes the requested option and all of the steps under this option.

