You can edit an Order Rule workflow to update its automatic actions whenever a Sales or Purchase Order matches specific conditions.

If you need to create a new Order Rule or check the available conditions, see How to Create Sales/Purchase Order Rules [Step-by-step guide].
The screenshots provided in this article are for illustrative purposes only.
This article is divided into the following sections:
- Locating the Order Rule
- Account-Level
- Organization-Level
- Configuring the Order Rule
- Behavior
- Scope
- Steps
- Saving the Changes
I. LOCATING THE ORDER RULE
i. Account-Level
1. Select the desired account from the header switcher.
2. Click Order Rules from the left menu under the Sales or Purchases section, depending on the Order Rule type.
3. Press Edit for the desired Order Rule.
Go to the next section to change its configuration.
ii. Organization-Level

- Verify required user permissions by referring to: techOMS User permissions structure [Information].
- Make sure you understand how the Global Library works by referring to: Understanding Global Order Rules Library for Your Organization [Guide].
1. Deselect any currently selected account.
2. Click Organizations from the left menu under the System Configuration section.
3. Press Edit for the desired organization.
4. Click the Sales Order Rules tab.
5. Press Edit for the desired Order Rule.
Go to the next section to change its configuration.
II. CONFIGURING THE ORDER RULE
WARNING: Changes to an Organization-Level rule affect all assigned accounts immediately. This can impact your entire organization if the rule is scoped globally. Proceed with caution.
i. Behavior
You can configure the Order Rule behavior by changing the following fields:
- Enabled: If checked, the Order Rule is enabled and its trigger will be actively evaluated. Otherwise, the Order Rule will be ignored, even if the trigger condition is met. For more information, refer to How to Enable/Disable a Sales/Purchase Order Rule [Step-by-step guide].
- Description and Trigger: A brief description of the Order Rule and the action that triggers it. For more information on these fields, refer to: How to Create Sales/Purchase Order Rules [Step-by-step guide].
- Priority: Sets the execution order. Rules are processed in two levels: first Organization-level, then Account-level. Within each level, a lower number means a higher priority. For more information, see: Understanding Global Order Rules Library for Your Organization [Guide].
For Organization-Level rules, continue to the next section to set the Scope. For all other rules, you can skip to section iii. Steps.
ii. Scope
For Organization-Level rules, you must assign which Accounts the rule applies to:
1. Click the Accounts tab.
2. Press Add.
3. Choose which Accounts to assign:
- To assign specific Accounts: Select them individually from the list.
- To assign all the Organization's Accounts: Click Apply to All.

4. Press Save.
If you selected Accounts individually, you can unassign them by clicking Delete.
Continue in the next section for configuring the rule's steps.
iii. Steps
Each Order Rule workflow consists of steps that you need to add and configure to define its logic. Each step is either a condition or an action.
The following screenshots illustrate how to configure conditions for Account-level Order Rules. The steps for configuring Account-level actions and all Organization-level conditions and actions are the same.

- Refer to Rules Conditions and Actions Guide [Information], which provides a comprehensive overview of the available steps and their corresponding configurations for both Account- and Organization-Level Order Rules.
- Make sure to have the Actions tab open.
For guidance on scheduling the behavior of Sales Order Rules using conditions, see: How to Schedule the Behavior of Sales Order Rules [Guide].
To configure steps:
1. Press Add and select the desired step.

2. Press Edit for the newly added step.
3. Configure the step as needed, then press Save.
WARNING: For Organization-Level rules, ensure you only select parameters available at the Organization scope. Using parameters marked as (account level only) will prevent the rule from executing correctly.
4. Repeat this process for as many steps as required.
WARNING: The conditions set in one step do not carry over to subsequent steps. If a step requires the same or a complementary condition as one previously set, it must be configured separately.
For example, if you need to automatically approve orders under 500 USD, and set orders of 500 USD or more to "Draft" status, you would:
a. Set up a step with the condition of SalesOrder.Total < 500.
b. Set up a consequent step with an action to approve the order.
c. Set up another step with the condition of SalesOrder.Total >= 500.
d. Set up a consequent step with an action to set the order to "Draft" status.
Which will look like this:
III. SAVING THE CHANGES
Your steps will now be visible.
If needed, you can rearrange an action by dragging it in the timeline. Take into account that it will execute in the order you specify.
WARNING: Newly created Order Rules are disabled by default. If that's the case and you would like to enable it, ensure that the Enabled field in section II.i is checked. For more information, refer to: How to Enable/Disable a Sales/Purchase Order Rule [Step-by-step guide].
Press Save to apply the changes.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article