Creating Order Workflows to Automate In-Flight Order Changes
When you are working with a large number of orders and you must create rules for different business scenarios (for example, pro-rating subscriptions, or cancelling orders due to a delay in provisioning), you can use Order Workflows to automate in-flight changes to orders based on certain criteria.
Order Management allows you to automate in-flight order changes and cancellation using Order Workflow rulesets and rules. Creating Order Workflows comprises two main tasks. First, you define a Workflow Ruleset to provide the business and trigger context, and any criteria related to the trigger. You then create a Workflow Rule and Workflow Rule Entries within that ruleset to instruct the system which action or actions to execute based on further criteria.
You can only create one workflow rule per ruleset. Each workflow rule can contain one or more workflow rule entries.
When a workflow ruleset is triggered, the specified workflow rule executes based on the criteria that triggers one or more of its rule entries. For example, you could create a workflow rule that automatically amends the order to change the subscription date of one or more line items when the agreement is accepted.
Executing Order Workflow Rulesets
Order Workflow Rulesets trigger based on any of the following events:
- Automatic:
- An order is created from a quote or agreement.
- A partial order is created from a price agreement.
- An order is accepted.
- Manual: Ready for Workflow is enabled and the order record is saved.
To create an Order Workflow Ruleset
To define criteria for the Workflow Ruleset
Perform the following task to define the triggering criteria for a workflow ruleset.
To create an Order Workflow Rule
You can create only one workflow rule per ruleset. Each workflow rule can contain one or more workflow rule entries.
To create an Order Workflow Rule Entry
To define criteria for line item workflow rule entries
Perform the following task to define the criteria that determine which Order Line Items are amended or cancelled when the workflow rule is executed.
To define the input for line item workflow rule entries
Perform this task to define the action taken on one or more Order Line Items defined by the Item Criteria when the workflow rule is executed.
Use Case: Automatic Subscription Rollover
Description: This use case describes how to create a Workflow Ruleset to handle automatic subscription rollover for in-flight order changes.
Prerequisite: In-Flight Order Changes and Cancellation must be configured in Order Management Settings. Refer to the Order Management for Administrators for more information.
You are tasked with modifying an in-flight order for subscription products. The product originally sold from January 1st to December 31st at a $1200 price point for a quantity of 10. However, fulfillment order the order is complete on January 31st. You need the subscription term to roll over, meaning that the order must be automatically modified to start on February 1st and end on January 31st the next year.
To create the Order Workflow Ruleset
To create the Order Workflow Rule
To create the Order Workflow Rule:
To create the Order Workflow Rule Entry and define criteria
To create the Order Workflow Rule Entry and define criteria:
To define input for the Order Workflow Rule Entry
For the input, perform the following tasks to shift the start date by a fixed number of days while keeping the end date the same.
- The "Auto Roll" Order Workflow Ruleset is created.
- The corresponding rule and rule entry is created. Criteria and inputs are specified to ensure that when a subscription order line item is fulfilled, the start term is modified to automatically rollover the subscription term without changing the end date.
Sample Scenarios for Amending Orders Using Workflow Rules
Refer to the following sample scenarios for amending orders using workflow rules.
-
Auto Roll
-
Pro Rata
-
Quantity Changes
-
Cancelling Order Lines