Create a subflow
Create a subflow for the Workflow Studio for enabling external routing.
Before you begin
Role required: admin
Procedure
On your ServiceNow instance, navigate to All > Flow Designer > Subflows.
From the Actions list, select Template - AWA Send Event.
Select Copy subflow from the More Actions menu
Image omitted: more-actions-ne-icon.png
More actions menu., copy the contents of the **Template - AWA Send Event** subflow and provide a name to it.
More actions menu., copy the contents of the **Template - AWA Send Event** subflow and provide a name to it.
Configure the action that you created in Create a custom flow action.
Select the Add an Action, Flow Logic, or Subflow.
Select the action that you created and in the Actions form, fill in the fields.
| Field | Description |
|---|---|
| Action | The custom action that you created.For more information, see Create a custom flow action. |
| Payload | Input the variables for the action. |
| Connection Alias \[Connection & Credential Aliases | The HTTP\(s\) Connection that you created.For more information, see Create a connection Alias for third-party provider. |
| Resource Path | The endpoint URL of the third-party CAAS provider. |
3. Select **Done**.
- Select Publish.