Description:
This step routes a Task to a queue.
Inputs
- selectQueue – select queue to route the task to
- taskDesc – task description
- taskBody – task body
- routedItem – routed item
- showURL – URL to render
- taskPriority – task priority
- queuePriority – queue priority
- daysToComplete – days to complete
- expireType - task expiry type
- includeWeekends - select checkbox to include weekends
Returns
- True – step executed successfully
- False – step failed to execute
Usage:

This step requires the queue to be configured in the FlowWright Application.

Example:
Let’s build and execute the “RouteToQueueDef” example.
- Create a new definition named “RouteToQueueDef” and open it in designer mode.
- Drag a “RouteToQueue” step to the canvas.
- Connect the dots between the “Start” and “RouteToQueue” step
- Click the “RouteToQueue” step to configure its “Required” properties. Enter a step name, select a queue from the drop-down list, and enter a task description. Then click the Save button. Note: Click the "AI Predict" button to have the Copilot add new process steps that match your process description.

- Click the “RouteToQueue” step to configure its “Optional” properties. Enter a task description. Enter information about the item to route. Enter the URL to render. Select the task priority. Select the queue priority. Set the task duration. Select “Yes” to include weekends when calculating the task completion date. Click the Save button.

- The “Logging” configuration is necessary for documentation and to measure workflow progress and percent complete. This is done by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

- Save the process definition, create a new instance, and execute it. The process step should route the task to queues. Note: When routing a Task or Form to a queue, the system recalculates the task expiration date when the task is assigned to a user from the queue.

Definition Sample:
You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after the import. Then, save the definition to confirm the changes.