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
Returns
- True – step executed successfully
- False – step failed to execute
Usage:
The queue must be configured in the FlowWright Application to use this step.
Example:
Let’s build and execute the “RouteToQueueDef” example.
- Create a new definition called “RouteToQueueDef”
- Select the definition and click the “design” button
- Drag a “RouteToQueue” step from the toolbox
- Connect the dots between the Start and “RouteToQueue” step
- Click the “RouteToQueue” step to configure its “Settings” properties. Provide a step name. Select the queue from the drop-down list. Provide a task description. Click the Save button to confirm.
- Click the “RouteToQueue” step to configure its “Advanced” properties. Provide a task detail description. Provide information on the item to route. Provide the URL to render. Select the task priority. Select the queue priority. Configure the task duration. Select Yes to include Weekends to calculate the task completion date.
- The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the percent complete. This is achieved 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 process instance and execute it. The process step should route the task to queues.
- NOTE: When routing a Task/Form to the queue, the system recomputes the task expiration date when it is assigned to the user from the queue.
Definition Sample:
You may download the sample definition(s) from the link here and later import it (drag-drop) to 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 import. Then, save the definition to confirm the changes.