Skip to main content

 –

Running a decision strategy from a flow

Suggest edit Updated on November 26, 2021

You can use the Run Data Flow Decision shape to run a single case data flow that runs a decision strategy as part of the business process. By integrating decision strategies with your flows, you create decision logic that is contextual for each case.

  1. Add the Run Data Flow shape to your flow.
    1. Open a flow by searching for it or by using the Application Explorer. For more information, see Finding rules by class.
    2. On the Diagram tab, click the Flow shapes icon, and then click Run Data Flow.
    3. Drag the Run Data Flow shape to a position on the flow diagram, based on the order of events in the flow.
    4. Connect the Run Data Flow shape, by dragging connector end points to connection points on different shapes in the flow.
  2. Double-click the Run Data Flow shape to open the property panel.
  3. Optional: To use properties and other rules that are not in your current class path, change the context of the data flow.
    1. In the Define data flow on list, select Another page.
    2. In the Page property field, press the Down Arrow key, and then select a page property that defines pages of a class that is different from the current flow.
  4. In the Rule field, press the Down Arrow key, and then select a data flow that references a strategy. The data flow must have an abstract input and abstract or dataset output.
  5. Optional: For data flows that do not save output records, or have an abstract destination, press the Down Arrow key in the Output page field, and then select a page property that stores the results from the data flow.
  6. Click Submit to close the property panel.
  7. Click Save.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us