Technology. People. Progress.
Dynamics 365

Create orchestration policies and rules in Dynamics 365 IOM

Configure the policies and associated rules for the quick-start scenario.

Create orchestration policies and rules in Dynamics 365 IOM

Microsoft Dynamics 365 Intelligent Order Management IOM Step by Step Tutorial

Follow Below Steps

Step 1 - COMPLETEDCreate the free 30 Days Trial Version Environment for the Microsoft Dynamics 365 Intelligent Order Management

Step 2 - COMPLETEDSet up an IOM environment / Configure platform connection references in Microsoft Dynamics 365 Intelligent order Management

Step 3 - COMPLETEDCreate a new solution for PROVIDER Customization in Microsoft Dynamics 365 IOM / Create a provider solution

Step 4 - COMPLETEDCreate RequestBin Custom connector (Power Platform) for Step by Step Microsoft IOM Tutorial

Step 5 - COMPLETEDCreate new intake provider definition for Step by Step IOM Tutorial Scenario- Microsoft Dynamics 365 Intelligent Order Management / Register a new Provider in Library

Step 6 - COMPLETEDCreate a provider message request handler for Quick Start Lab Scenario for Microsoft Intelligent order Management IOM tutorial

Step 7 - COMPLETEDCreate Fulfillment provider in Microsoft Dynamics Intelligent Order Management IOM – Order to Fulfillment in IOM

Step 8 - COMPLETEDAdd a provider definition logic definition to the Outlook Provider Definition in Microsoft Dynamics Intelligent Management IOM

Step 9 - COMPLETEDCreate a provider action - Power Automate Flow - to send a fulfillment Order payload to RequestBin

Step 10 - COMPLETEDActivate the Intake, Fulfillment, & Internal Application Service provider created in Previous Step by Step IOM Tutorial

Step 11Create Orchestration policies and their associated rules for Quick Start Lab Scenario in Microsoft Dynamics 365 Intelligent Order Management IOM

Step 12Create Sales Order Orchestration flow in Microsoft Dynamics Intelligent Order Management IOM

Step 13Set up Customer(Account) and product mapping in Microsoft Dynamics Intelligent order Management IOM

Step 14Run a sample order orchestration flow in Microsoft Dynamics 365 Intelligent Order Management - END TO END DEMO IOM

Policies and their associated rules are used for different purposes in the Intelligent Order Management orchestration flow. Policies are classified into different policy types. Policy types ensure that users can easily select the appropriate policies in the orchestration flow.

To learn more about the policies and their different rules must follow the shared link – Policies and rules in Intelligent Order Management

Create policies for Quick Start Lab Scenario

This topic describes the steps required to create policies in Microsoft Dynamics 365 Intelligent Order Management.

  • Select Policies under Orchestrations .
Screenshot from the DVMSKE tutorial
Create policies for Quick Start Lab Scenario — screenshot 1 View full size
  •  Select New.
Screenshot from the DVMSKE tutorial
Create policies for Quick Start Lab Scenario — screenshot 2 View full size

1. Order header validation policy

1. Create a new header validation policy

  • For Policy Name, enter “Order header validation policy”.
  • For Policy Type, enter “Execution Policy”.
  • For Policy Criticality, enter “Critical”.
  • For Associated Entity, enter “Order”
  • For Status, enter “Unpublished”.
  • Select Save.
Screenshot from the DVMSKE tutorial
1. Order header validation policy — screenshot 3 View full size

2. On the order header validation policy form, select New Rule.

Screenshot from the DVMSKE tutorial
1. Order header validation policy — screenshot 4 View full size

3. Under the condition for Rule Name, enter “ShipToCountry – US”.

Screenshot from the DVMSKE tutorial
1. Order header validation policy — screenshot 5 View full size

4. In the Rule definition append the Add and select the Add row option.

Screenshot from the DVMSKE tutorial
1. Order header validation policy — screenshot 6 View full size

5. In the first field, select Ship to Country/Region.

Screenshot from the DVMSKE tutorial
1. Order header validation policy — screenshot 7 View full size

6. For Rule definition:

    1. In the first field, select Ship to Country/Region.
    2. In the second field, select Equals.
    3. In the third field, select US.
Screenshot from the DVMSKE tutorial
1. Order header validation policy — screenshot 8 View full size

7.  Select Publish.

Screenshot from the DVMSKE tutorial
1. Order header validation policy — screenshot 9 View full size

2. Order line validation policy

  1. To create a new line validation policy, follow these steps.
    1. Go to Orchestration > Policies and select New.
    2. For Policy Name, enter “Order line validation policy”.
    3. For Policy Type, enter “Execution Policy”.
    4. For Policy Criticality, enter “Critical”.
    5. For Status, enter “Unpublished”.
    6. For Associated Entity, enter “Order Product”.
    7. Select Save.
Screenshot from the DVMSKE tutorial
2. Order line validation policy — screenshot 10 View full size

2. On the order line validation policy form, select New Rule.

Screenshot from the DVMSKE tutorial
2. Order line validation policy — screenshot 11 View full size

3. Under Condition, for Rule Name, enter “Min quantity”.

Screenshot from the DVMSKE tutorial
2. Order line validation policy — screenshot 12 View full size

4. For Rule definition:

    1. In the first field, select Quantity.
    2. In the second field, select Is greater than or equal to.
    3. In the third field, enter or select 5.
Screenshot from the DVMSKE tutorial
2. Order line validation policy — screenshot 13 View full size

5. Select Publish.

Screenshot from the DVMSKE tutorial
2. Order line validation policy — screenshot 14 View full size

3. Simple fulfillment assignment policy

  1. To create a simple fulfillment assignment policy, follow these steps.
    1. Go to Orchestration > Policies and select New.
    2. For Policy Name, enter “Simple fulfillment assignment policy”.
    3. For Policy Type, enter “Execution Policy”.
    4. For Policy Criticality, enter “Information”.
    5. For Status, enter “Unpublished”.
    6. For Associated Entity, enter “Order Product”.
    7. Select Save.
Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 15 View full size

2. On the simple fulfillment assignment policy form, select New Rule.

Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 16 View full size

3. Under Condition, for Rule Name, enter “Assignment rule- Seattle”.

Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 17 View full size

4. For Rule definition:

    1. In the first field, select Quantity.
    2. In the second field, select Is greater than or equal to.
    3. In the third field, enter or select 100.
Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 18 View full size

5. Under Action, set the Add Action value to Yes.

    1. In the first field, select Fulfillment Source.
    2. In the second field, select Set Value.
    3. In the third field, enter or select Seattle store.
Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 19 View full size

6. Select Save and close.

Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 20 View full size

7. On the simple fulfillment assignment policy form, select New Rule

Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 21 View full size

8. Under Condition, for Rule Name, enter “Assignment rule- Chicago”.

Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 22 View full size

9. For Rule definition:

    1. In the first field, select Quantity.
    2. In the second field, select Is less than.
    3. In the third field, enter or select 100.
Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 23 View full size

10. Under Action, set the Add Action value to Yes.

  1. In the first field, select Fulfillment Source.
  2. In the second field, select Set Value.
  3. In the third field, enter or select Chicago store.
Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 24 View full size

11. Select Save and close.

Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 25 View full size

12. Select Publish.

Screenshot from the DVMSKE tutorial
3. Simple fulfillment assignment policy — screenshot 26 View full size

4. Fulfillment filter policy - Seattle

  1. To create a filter policy for the Seattle store, follow these steps.
  • Go to Orchestration > Policies and select New.
  • For Policy Name, enter “Fulfillment filter policy – Seattle”.
  • For Policy Type, enter “Filter Policy”.
  • For Policy Criticality, enter “Information”.
  • For Status, enter “Unpublished”.
  • For Associated Entity, enter “Fulfillment Order”.
  • Select Save.
Screenshot from the DVMSKE tutorial
4. Fulfillment filter policy - Seattle — screenshot 27 View full size

2. On the Fulfillment filter policy – Seattle form, select New Rule.

Screenshot from the DVMSKE tutorial
4. Fulfillment filter policy - Seattle — screenshot 28 View full size

3. Under Condition, for Rule Name, enter “Min quantity”.

Screenshot from the DVMSKE tutorial
4. Fulfillment filter policy - Seattle — screenshot 29 View full size

4. For Rule definition:

    1. In the first field, select Fulfillment Source.
    2. In the second field, select Equals.
    3. In the third field, enter or select Seattle store.
    4. Under Action, set the Add Action value to No.
    5. Select Save and close.
Screenshot from the DVMSKE tutorial
4. Fulfillment filter policy - Seattle — screenshot 30 View full size

5. Select Publish.

Screenshot from the DVMSKE tutorial
4. Fulfillment filter policy - Seattle — screenshot 31 View full size

5. Fulfillment filter policy - Chicago

  1. To create a filter policy for the Chicago store, follow these steps.
  • Go to Orchestration > Policies and select New.
  • For Policy Name, enter “Fulfillment filter policy – Chicago”.
  • For Policy Type, enter “Filter Policy”.
  • For Policy Criticality, enter “Information”.
  • For Status, enter “Unpublished”.
  • For Associated Entity, enter “Fulfillment Order”.
  • Select Save.
Screenshot from the DVMSKE tutorial
5. Fulfillment filter policy - Chicago — screenshot 32 View full size

2. On the Fulfillment filter policy – Chicago form, select New Rule.

Screenshot from the DVMSKE tutorial
5. Fulfillment filter policy - Chicago — screenshot 33 View full size

3. Under Condition, for Rule Name, enter “Min quantity”.

Screenshot from the DVMSKE tutorial
5. Fulfillment filter policy - Chicago — screenshot 34 View full size

4. For Rule definition:

    1. In the first field, select Fulfillment Source.
    2. In the second field, select Equals.
    3. In the third field, enter or select Chicago store.
    4. Select Save and close.
Screenshot from the DVMSKE tutorial
5. Fulfillment filter policy - Chicago — screenshot 35 View full size

5. Select Publish.

Screenshot from the DVMSKE tutorial
5. Fulfillment filter policy - Chicago — screenshot 36 View full size

As you can see all the five policies is created Succesfully

Screenshot from the DVMSKE tutorial
As you can see all the five policies is created Succesfully — screenshot 37 View full size

CLICK HERE FOR STEP 12Create Sales Order Orchestration flow in Microsoft Dynamics Intelligent Order Management IOM

Need help applying this to your business?

Talk to our team about your systems and next step.

Talk to our team
Open original image