Excerpt | ||||||
---|---|---|---|---|---|---|
| ||||||
Learn how you can configure Workflow Rules -
|
Status | ||||
---|---|---|---|---|
|
What does this section cover?
Table of Contents | ||
---|---|---|
|
What are Workflow Rules ?
Workflow Rules are used in order to apply actions on specific entities, triggered by specific events, considering that the specified conditions are fulfilled. Each configured Workflow Rules refers to a specific Entity. The supported entities are the following:
- Activities
- Jobs
- Service Requests
- Subscriptions
Creating, Editing & Deleting Validations & Restrictions
Action | Validations | Restrictions | Additional Information |
---|---|---|---|
General | You can have multiple Effective and Not Effective definitions | ||
Create |
| ||
Edit |
| Definition can be edited at any time, the Workflow Rule's Entity however, can never be changed, since this information affects the Workflow Rule's Conditions and Actions. | |
Delete |
| Definition can be deleted at any time | |
Setting Workflow Definition to Not Effective | If the Approval definition is used in at least one effective workflow rule then
|
Workflow Rules attributes
Name *
The Workflow Rule's Name. Each Workflow Rule name should be unique
Alternative Code *
The Alternative Code of the Workflow Rule. The Alternative Code is mandatory so if none is define its value will default to the first letter of the Workflow Rule's name
Description
A Description of the Workflow Rule
Life Cycle State
The life cycle state of the Workflow Rule which can either be Effective or Not Effective. Only effective workflow rules are applicable
Entity *
The Entity for which the Workflow Rule is applied. Each Workflow Rule must be related to one and only one Entity and this related is defined at the Entity Type.
Entity Types
The Type of the Entities for which the Workflow Rule will be triggered, evaluated and applied. The Entity of the Workflow Rule defines which Entity Types will be available for selection. Multiple Entity Types can be defined
Processing Order
Defines the ordering of the Workflow Rule's actions. The Workflow Rule's actions are categorized as Updates and various Actions, so the Processing order defines whether the entity which triggers the rule will at first be updated and then actions will be performed based on its updated information or the other way around. The available options are:
- Updates first and then any other actions.
- Any other actions and then updates
Priority
A priority of the rule in case that multiple rules are applied on each entity. The available values are Low, Medium, High.
Triggers *
A list of events that will be triggering the workflow rule. Multiple triggers can be selected. The triggers should include the following:
- On Create
- On Update
- Through Web API
Conditions
A set of Conditions that should be fulfilled in order to apply the Workflow Rule. Multiple Conditions can exist per Workflow Rule. The Workflow Rule's Conditions are met either when at least one of the Conditions is met or if all Conditions are met and this option is available when setting up the conditions. Conditions always refer to the information of the entity related to the Workflow Rule. Each Condition might include more than one fields of the related entity and at least one of them should be bet in order for the condition to be met. Each Condition also has a specific type that indicates how the entity's information will be evaluated.
The Conditions include:
- Who performs the update: One or more of the following options can be selected. If Specific User or Specific Unit is selected, then a specific User or Unit must also be defined.
- A specific field changes: One or more of the following options can be selected. The Condition is met if at least one of the defined entity fields has been updated to any value either during the entity's creation or on update.
- When a field contains a specific value: One or more of the following options can be selected. The Condition is met if at least one of the defined entity fields has a specific value at the time that the Condition is evaluated. The entity field is not necessarily updated before the rule was triggered. The Condition is evaluated as long as a specific value is defined per entity field.
- When a field changes from a specific value to a specific value: One or more of the following options can be selected. The Condition is met if at least one of the entity fields had a specific value prior the entity's update and the field was updated to another specific value after the entity's update. At least one of the two specific values should be specified per Condition, i.e. either the initial or the new specific value
Actions *
A set of Actions that should be applied according to the Workflow Rule but only as long as the Conditions are met. Multiple Actions can exist per Workflow Rule and all of them will be applied if the Conditions are met. The Workflow Rule's Processing Order setting defines the order in which the Actions will be applied. The Workflow Rule Actions include the following:
- Updates information of the entity for which the Workflow Rule is applied. The information that can be updated should be different based on the entity and should include the following
- Schedule Activities: Creates an activity and relates it with the entity itself or with the master entity
- Send Communication: Sends a communication to the customer related with the entity
- Send Alerts: Sends alerts to the users. Existing or new alerts can be used
- Trigger Webhooks: Triggers Webhooks. Existing or new webhooks can be used
- Request Approvals: Sets the approval settings. Existing or new approvals can be used
Each Entity Type has different Workflow Rule Actions described in the tables below
Activity Workflow Rule Conditions and Actions
Conditions | Actions | ||
---|---|---|---|
Name | Description | Name | Description |
Who performs the update | Defines a set of Users or Units which either created new or modify an existing Activity. More than one options can be selected. If more than one options are defined then at least one of them should be met. The available Condition options are:
| Update Information | Defines how specific Activity fields should be updated and the new value that should be assigned to them as the result of successfully applying a Workflow Rule. Multiple fields can be selected to be updated within the set of actions of the same Workflow Rule, but only as long as they are not conflicting. The available fields to be updated are the following:
|
Specific Field Change | Defines a set of Activity fields for which the Condition is met if their value changes (change to any value). More than one fields can be selected. If more than one fields are defined, then at least one of them must change in order for the Condition to be met. The available fields are:
| Send Alerts | Sends alerts to the users. Existing or new alert definitions related with activities can be used Note that both effective and not effective definitions can be selected |
Specific Field Change to Value | Defines a specific value that specific field should have when the Condition is to be evaluated. Only one value per field is allowed to be defined. Multiple fields along with their values can be defined within the same set of Conditions. If more than one fields are defined, then at least one of them should be evaluated to true in order for the Condition to be met. The available fields are:
| Trigger Webhooks | Triggers Webhooks. Existing or new webhook definitions related with activities can be used Note that both effective and not effective definitions can be selected |
Specific Field Change From Value to another Value | Defines a specific value that a specific field should initially have and the value that the same field should have after the entity's update. Multiple fields along with their values can be defined within the same set of Conditions. If more than one fields are defined, then at least one of them should be evaluated to true in order for the Condition to be met. The available fields are:
| Request Approvals | Sets the approval settings. Existing or new approval definitions related with activities can be used Note that both effective and not effective definitions can be selected |
Job Workflow Rule Condition and Action Attritbutes
Conditions | Actions | ||
---|---|---|---|
Name | Description | Name | Description |
Who performs the update | Defines a set of Users or Units which either created a new or modified an existing Job. More than one options can be selected. If more than one options are defined then at least one of them should be met. The available Condition options are:
| Update Information | Defines how specific Service Request fields should be updated and the new value that should be assigned to them as the result of successfully applying a Workflow Rule. Multiple fields can be selected to be updated within the set of actions of the same Workflow Rule, but only as long as they are not conflicting. The available fields to be updated are the following:
|
Specific Field Change | Defines a set of Job fields for which the Condition is met if their value changes (change to any value). More than one fields can be selected. If more than one fields are defined, then at least one of them must change in order for the Condition to be met. The available fields are:
| Send Alerts | Sends alerts to the users. Existing or new alert definitions related with jobs can be used Note that both effective and not effective definitions can be selected |
Specific Field Change to Value | Defines a specific value that specific field should have when the Condition is to be evaluated. Only one value per field is allowed to be defined. Multiple fields along with their values can be defined within the same set of Conditions. If more than one fields are defined, then at least one of them should be evaluated to true in order for the Condition to be met. The available fields are:
| Trigger Webhooks | Triggers Webhooks. Existing or new webhook definitions related with jobs can be used Note that both effective and not effective definitions can be selected |
Specific Field Change From Value to another Value | Defines a specific value that a specific field should initially have and the value that the same field should have after the entity's update. Multiple fields along with their values can be defined within the same set of Conditions. If more than one fields are defined, then at least one of them should be evaluated to true in order for the Condition to be met. The available fields are:
| Request Approvals | Sets the approval settings. Existing or new approval definitions related with jobs can be used Note that both effective and not effective definitions can be selected |
Schedule Activities | Schedule Activities to be performed for the entity which triggers the Workflow Rule by setting up the Activity Types of the Activities that will be scheduled. Multiple Activity Types can be configured. For the automatic activity scheduling you must also configure activity assignments in Creating Automatic Collaboration Rules (ACR) as the assignment will be automatically done. |
Service Request Workflow Rule Condition and Action Attributes
Defines a set of Users or Units which either created a new or modified an existing Service Request. More than one options can be selected. If more than one options are defined then at least one of them should be met. The available Condition options are:
- Assign to User
- Assign to Unit
- Created by User
- Created by Unit
- Responded by User
- Specific User
- Specific Unit
- Temporarily Resolved By User
- Finally Resolved By User
Defines how specific Service Request fields should be updated and the new value that should be assigned to them as the result of successfully applying a Workflow Rule. Multiple fields can be selected to be updated within the set of actions of the same Workflow Rule, but only as long as they are not conflicting. The available fields to be updated are the following:
StatusExcerpt | ||
---|---|---|
| ||
Learn to configure Workflow Rules that determine the overall behaviour of Workflows |
Panel | ||||
---|---|---|---|---|
| ||||
Table of Contents
|
Navigating to Workflow Rules
Info |
---|
FOUNDATION > WORKFLOWS > SET UP WORKFLOW RULES |
What are Workflow Rules?
Workflow Rules support business workflows and automate tasks required to complete business processes, triggering System actions provided certain events or conditions occur. Workflow rules can be set up for the following modules:
- Activities
- Jobs
- Service Requests
- Subscriptions
- Reward Offers
Status colour Yellow title Available from CRM.COM R11.0.0
Workflow Rules can be edited, deleted and have their Life Cycle State changed.
- Navigate to Workflow Rules and explore existing entries via the Summary page.
Click on the link (Name or Number) of the entry of your interest to access the Data Entry page and see more detail.
Use the Actions Menu to create a NEW rule, modify (EDIT), or DELETE an existing one.
Use BACK to return to the Summary page and CANCEL to revert any unwanted changes made to the rule.
Check the Validations & Restrictions Table below for a list of available Actions when working with Workflow Rules, including each Action's related validations, restrictions and additional information. View the Attributes Table for a comprehensive description of the Workflow Rules fields.
Anchor | ||||
---|---|---|---|---|
|
Action | Validations | Restrictions | Additional Information |
---|---|---|---|
General |
|
| If more than one Workflow Rule exists for a specific Entity, then all of the Workflow Rules are evaluated based on the Priority attribute set on each Rule. |
Create |
|
|
|
Edit |
| The Workflow Rule's Entity, cannot be changed once set since this information affects the Workflow Rule's Conditions and Actions. |
|
Delete |
|
|
|
Anchor | ||||
---|---|---|---|---|
|
An * indicates a field is mandatory.
NAME | DESCRIPTION | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Main Information | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Name* | The Workflow Rule's Name. Each Workflow Rule Name should be unique. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Alternative Code* | The Alternative Code of the Workflow Rule. Unless otherwise specified, the Alternative Codes for new entries default to the Name initials in capital letters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description | A Description of the Workflow Rule. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Life Cycle State | The Life Cycle State of the Workflow Rule which can either be 'Effective' or 'Not Effective'. Only 'Effective' Workflow Rules are applicable. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Settings | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Entity* | The Entity to which the Workflow Rule is applied. Each Workflow Rule must be related to only one Entity Type
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Entity Types | The Type of the Entities for which the Workflow Rule will be triggered, evaluated and applied. The Entity of the Workflow Rule defines which Entity Types will be available for selection. Multiple Entity Types can be defined. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Processing Order | Determines the order of the Workflow Rule's actions. Workflow Rule's actions are categorised into Updates and Actions. The Processing Order defines whether the Entity which triggers the rule is updated first and then acted upon or vice versa. The available options are:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Priority | A Priority level for the Rule when multiple rules are applied on each Entity. The available values are Low, Medium and High.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Triggers | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Triggers * | Events that trigger the Workflow Rule. Multiple Triggers can be selected and include the following:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Conditions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Conditions | A set of Conditions that should be fulfilled for the Workflow Rule to be applied. Multiple Conditions can exist per Workflow Rule. Conditions always concern the information of the Entity related to the Workflow Rule. Each Condition might include more than one Entity field. The Workflow Rule's Conditions can be considered as met when either:
The Conditions include:
| Specific Field Change | Send Alerts | Sends alerts to the users. Existing or new alert definitions related with service requests can be used Note that both effective and not effective definitions can be selected | Specific Field Change to Value | Defines a specific value that specific field should have when the Condition is to be evaluated. Only one value per field is allowed to be defined. Multiple fields along with their values can be defined within the same set of Conditions. If more than one fields are defined, then at least one of them should be evaluated to true in order for the Condition to be met. The available fields are:
| Trigger Webhooks | Triggers Webhooks. Existing or new webhook definitions related with Service Requests can be used Note that both effective and not effective definitions can be selected | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Specific Field Change From Value to another Value | Defines a specific value that a specific field should initially have and the value that the same field should have after the entity's update. Multiple fields along with their values can be defined within the same set of Conditions. If more than one fields are defined, then at least one of them should be evaluated to true in order for the Condition to be met. The available fields are:
| Request Approvals | Sets the approval settings. Existing or new approval definitions related with Service Requests can be used Note that both effective and not effective definitions can be selected | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Schedule Activities | Schedule Activities to be performed for the entity which triggers the Workflow Rule by setting up the Activity Types of the Activities that will be scheduled. Multiple Activity Types can be configured. For the automatic activity scheduling you must also configure activity assignments in Creating Automatic Collaboration Rules (ACR) as the assignment will be automatically done. |
Subscriptions Workflow Rule Condition and Action Attributes
Defines a set of Users or Units which either created a new or modified an existing Job. More than one options can be selected. If more than one options are defined then at least one of them should be met. The available Condition options are:
- Created by User
- Created by Unit
- Specific User
- Specific Unit
Defines how specific Service Request fields should be updated and the new value that should be assigned to them as the result of successfully applying a Workflow Rule. Multiple fields can be selected to be updated within the set of actions of the same Workflow Rule, but only as long as they are not conflicting. The available fields to be updated are the following:
- Owned by Group
- Privacy Level
- User Defined Fields
Defines a set of Subscription fields for which the Condition is met if their value changes (change to any value). More than one fields can be selected. If more than one fields are defined, then at least one of them must change in order for the Condition to be met. The available fields are:
- Life Cycle State
- Contact Information
- Accounts Receivable
- Subscription Address
- Billing Terms
- Price Plan
- Agreement Date
- Binding Period
- Binding Period Start Date
- Binding Period End Date
- Owned by Group
- Privacy Level
- New services
- Services Activated
- Services Deactivated
- Services Cancelled
Sends alerts to the users. Existing or new alert definitions related with subscriptions can be used
Note that both effective and not effective definitions can be selected
Defines a specific value that specific field should have when the Condition is to be evaluated. Only one value per field is allowed to be defined. Multiple fields along with their values can be defined within the same set of Conditions. If more than one fields are defined, then at least one of them should be evaluated to true in order for the Condition to be met. The available fields are:
- Life Cycle State
- Owned by Group
- Privacy Level
- Price Plan
- Billing Term Scheme
- Binding Period
Triggers Webhooks. Existing or new webhook definitions related with subscriptions can be used
Note that both effective and not effective definitions can be selected
- Life Cycle State
- Owned by Group
- Privacy Level
- Billing Terms
- Price Plan
- Billing Term Scheme
- Binding Period
Sets the approval settings. Existing or new approval definitions related with subscriptions can be used
Note that both effective and not effective definitions can be selected
For the automatic activity scheduling you must also configure activity assignments in Creating Automatic Collaboration Rules (ACR) as the assignment will be automatically done.
Defining your own Workflow Rules tailored to your company's needs
MAIN INFORMATION
- Provide the main information as explained in the table above
SETTINGS
Provide the following information- Entity: Select from the drop down list the entity for which the rule will be created
- Processing Order: Select from the drop down list the order by which the rule will work
- Priority: Select from the drop down the priority for the specific rule
In case more rules eist for the same entity - Applicable on Entity Types: Click on ADD and select from the drop down list the entity types that the rule will be applied for
TRIGGERS
Select the events which will trigger the workflow rule- On Create : Check the box if you would like the rule to be triggered on creating the entity
- On Update: Check the box if you would like the rule to be triggered on updating the entity
- On WEB API: Check the box if you would like the rule to be triggered on using WEB API Call: GET workflow_rules/trigger
CONDITIONS
Define a set of conditions which have to be met in order for the workflow rule's actions to be applied.- Select how the conditions will be validated, between
- All Conditions are met
- At least one condition is met
- Click on ADD
- From the list on the left select the Condition Added
- Condition Type: Select from the drop down list the condition you would like to apply
According to the condition type you will need to add the respective conditions. i.e. if you select specific User or Unit you will need to add the Unit or Users that condition applis to
If you select on a field change you will need to select a field e.t.c - Click on ADD
- Select from the drop down list the:
- User or unit setting on When Specific User or Unit Makes a change
- Field on When Specific Field Changes
- Field and Value on When Specific Field Contains Specific Value
- Field From Value and To Value on When Specific Field Changes from a Specific Value to Another Specific Value
- Condition Type: Select from the drop down list the condition you would like to apply
- From the list on the left select the Condition Added
ACTIONS
Define which entity fields will be updated as part of the workflow rule's actions as well as each field's new value. Multiple fields can be added. The fields and their available values depend on the workflow rule's referred to entity.
UPDATE INFORMATION
- Click on ADD
- Field: Select from the drop down list the field that will be updated
- Value: Provide the value the selected field will be updated to
SEND ALERTS
TRIGGER WEBHOOKS
SCHEDULE ACTIVITIES
This is not available if the selected Entity in the Settings Tab is Activities
Click on ADD and search for the Activity Typeyou would like to be created
If there is at least one applicable Job Type with fulfilment method "Based on ordered items" then additional Activities cannot be scheduled for Job instances of that type. On saving the workflow rule an informational message is displayed that activities will not be scheduled for such jobs. This applies when:
- The workflow rule is applied on specific Job Types and at least one of them has "Based on ordered items" fulfilment method or
- The workflow rule does not have any applicable Job Types but there is at least one Job Type configured in the system with "Based on ordered items" fulfilment method
LOG INFORMATION
From the Actions Menu click on SAVE
Deleting Workflow Rules
Changing the Life Cycle State of Approval Definition
OR
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Actions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Actions* | A set of Actions that should be applied according to the Workflow Rule provided that the Conditions are met. Multiple Actions can exist per Workflow Rule and all of them are applied if the Conditions are met. The Workflow Rule's Processing Order setting determines the order in which the Actions are applied. The Workflow Rule Actions include:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Log Information | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Log Details | The standard set of Log Details information available in all entities. |
Note |
---|
View Understanding Workflows for business examples related to Workflow Rules. |
Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
Related Areas
|
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Popular Labels | ||||||||||
spaceKey | V4Manual | style | heatmap||||||||
Helpful Links
|