Configure Ticket Routing & Ticket Workflow
Configure Ticket Routing & Ticket Workflow
This guide describes how to configure Ticket Routing (the controller) and ticket workflows (the execution) within Moveworks Setup
Configure Ticket Routing & Ticket Workflow
This guide describes how to configure Ticket Routing (the controller) and ticket workflows (the execution) within Moveworks Setup
The ticketing workflow is a tool that helps to replicate your external system’s ticketing process. It offers flexibility and customization to your operations, including creating, updating, re-opening, and resolving tickets.
Routing Conditions allow you to specify which workflow to execute when each high-level ticketing action is taken. You can configure routing conditions for the following high-level ticketing actions:
These Routing Conditions will be auto-generated and pre-configured. The default behavior will be sufficient in most cases, but you may configure/modify them further if needed.
When configuring to support specific behavior, we suggest using a top-down approach by thinking about Routing Conditions first to determine what high-level skills or conditions should trigger this behavior. Then think about Workflows in terms of what actions you would like to execute, in what order, and under what conditions.
In practice however, you must configure a Workflow before you can reference it in a Routing Condition.
Some workflows are auto-generated to provide default behavior for Concierge & Ticketing. These are prefixed with “GENERIC_MW_DEFAULT_CONCIERGE_” and provide pre-defined actions, but they can be used as a starting point and modified according to your specific needs.
You can also create new, custom workflows from scratch. To create a new workflow:
→ Navigate to ‘Ticket Workflows - Workflow Conditions’

→ Click on ‘Create’ in the top right to create and configure a new workflow.
→ Define:

→ Click ‘NEXT: ADD WORKFLOW’ in the bottom right.
→ On this screen, you can configure the various actions that should be taken when the workflow is triggered. Below is the list of primitive actions that can be used. For each workflow, you must define one or more default actions, and optionally one or more conditional actions that will be taken upon execution of the workflow. If no Conditional Action rule is satisfied, the Default Action(s) will be taken. For more detail on configuration of each action, see Workflow Actions.
Click ‘Add +’ under Default Action Actions to Add a default action to take for this workflow.

Click ‘Add +’ under Conditional Actions to add any conditional actions to take for this workflow.
For each conditional action, you must define a DSL rule that will determine when the action should be taken.

→ Click ‘Confirm Workflow’ in the bottom right to finalize the workflow configuration.
There are built-in primitive actions available to use when creating a Workflow. Most of the actions are self-describing and require no additional configuration, but these are the exceptions:
Generate Ticket Action
By default, Moveworks will predict whether the ticket should be an Incident or Request and assign that value to a variable within Moveworks called ticket_type. You can utilize ticket_type in the Conditional DSL rule to specify which ticket destination should be filed in either scenario.
For example, if you have two different Incident ticket types mapped within Moveworks ticket mapping, you can choose the one you’d like to be filed when Moveworks predicts the type to be Incident.
Example of choosing which ticket destination to file when Moveworks predicts the ticket should be an Incident:

You can also use other criteria in the conditional such as context.system_context.domain to specify which ticket type should be filed per domain. The DSL editor contains a dropdown of all available criteria that can be used when writing the conditional rules.
The ticket destination options will consist of the Ticket Types that have been mapped in Ticket Mapping
A read-only preview of the Create Ticket Payload will appear for the selected Ticket Destination so that you can review the configured payload that will be used to create the ticket.
Note: The Additional Ticket Fields Mapper is used to define variables and set them to a hard coded value. For example, you can define a variable called category and set it to value “Software” to be populated when software request tickets are filed. This mapper is only responsible for defining the variable. To include it in the generate ticket outbound payload, the field must be included in the Create Ticket Payload mapping in the Ticket Mapping configuration for the desired ticket type.

Reminder: Simply setting category to a value in the Generate Ticket Action Additional Ticket Fields Mapperwill not result in the field getting set upon ticket creation. The variable name from the Generate Ticket Action Additional Ticket Fields Mapper must be set in the ticket mapping generate ticket payload mapping.
Submit Form Action
Payload that will be sent to the ITSM system to submit the form.
First, specify the field name from your ITSM ticket to be populated, the specify the value of the field that should be set.
Example:
The fields in red are the backend field names from the ITSM that will be used in the create ticket API call. The blue variables are Moveworks system variables that are populated automatically.

You can also hard code a value in the Submit Form Action such as ‘category’ in the example below. Be sure the escape the string values by adding ” in front of the quotes surrounding the string.

Generate Ticket From Existing Ticket Action
The original ticket in the form of ticket.
ticket.requested_for, ticket.short_description, etccomments, work_notes, and short_description are configured to be copied over from the previous ticket and the parent field is configured to be set to the ID of the original ticket
Submit Form From Existing Ticket Action
mw_userTo configure routing conditions, navigate ‘Routing Conditions’ in Moveworks Setup.

→ Expand the settings for the high-level action you would like to configure.

→ For each action:
You must specify a Default Workflow using the Workflow Name value from Workflow Conditions.

You may optionally add Conditional Routes to execute a workflow under specific conditions. These are evaluated in ascending order, and the route corresponding to the first satisfied condition is taken. Use the DSL editor to define your condition(s). See the DSL Reference for more information on writing your rule(s).

context.system_context.domain_destination — the resolved ticket destination for the request (e.g. IT, HR). Use this field to branch on the destination configured in Moveworks Setup. Compare case-insensitively with .$LOWERCASE().context.system_context.ticket_id (not available for Generate Ticket Action)context.system_context.requestorcontext.skill_name
access_accountaccess_dlchannelconciergeformnative_approvalsaccess_swticket_interceptiontriageunspecified_skillcontext.concierge_context.ticket_datacontext.triage_context.field_updatescontext.access_dl_context.approvable_entityADDITIONAL NOTES
With this configuration, when users ask the AI Assistant to resolve their ticket, the Assistant will instead leave a worknote on the ticket indicating the user said it was ok to close their ticket. The ticket state will remain unchanged and an agent will need to close out the ticket after populating any additional information and required fields.
In Moveworks Setup, navigate to Ticket Workflows > Routing Conditions

Under Resolve Ticket Action Settings, identify all of your resolve ticket workflows and note them down for the next step.
Navigate to Ticket Workflows > Workflow Conditions to edit the workflows notes down in the previous step.
For each resolve ticket workflow, edit the workflow and adjust the ticket actions under each desired condition and in the default section if desired. The ticket actions should be listed in the following order: