Use the Decision in Your Application

Now let’s use your activated decision snapshot in a process within an application.

  1. Return to the Process Applications page by clicking Back Back icon in the navigation pane.

    Notice that the page displays both the application and the decision model you created.

    Description of proc-app-page-dmn.png follows
    Description of the illustration proc-app-page-dmn.png

  2. Open the What To Bring application you created.
  3. Open the decision process. Select the decision element you added (Decide What to Bring), click Menu Menu icon , and select Open Properties.
  4. On the Properties pane, click Use Decision Model Use Decision Model icon next to the Decision Model field.
  5. In the Use an Activated Decision Model dialog box, select the snapshot you created and activated (WhatToBringSnapshot), and click Use.

    Description of activate-decision-model.png follows
    Description of the illustration activate-decision-model.png

    Process brings the activated decision model snapshot into the application and performs behind-the-scenes operations such as importing data types and defining the REST connector to the service.

    Notice that the Properties pane now lists the decision model and service you selected to use.

    Description of decision-process-properties.png follows
    Description of the illustration decision-process-properties.png

  6. Click Collapse Pane Collapse pane icon to close the properties pane.