Close popover

Table of Contents

Strategy methods

Version:

Use a rule-based API to get details about the propositions and properties in your strategies.

The following methods support the use of strategies in activities:

  • Returning a list of propositions

    Use the Call instruction with the Rule-Decision-Strategy.pyGetStrategyPropositions activity to obtain the list of propositions returned by the strategy.

  • Returning a list of properties

    Use the Call instruction with the Rule-Decision-Strategy.pyGetStrategyProperties activity to obtain the list of properties that are used by components in the strategy. Duplicate values are ignored.

  • Computing segment logic

    Use the Call instruction with the Rule-Decision-Strategy.pyComputeSegmentLogic activity to obtain the list of segments that can be returned by the strategy. The segment logic computation goes through the chain of component connections, gathering information about segment components and logical connections between them. If a substrategy component is involved, segments of the substrategy are also gathered. The result is represented in a tree structure that contains the resulting classes: Embed-AST (base class), Embed-AST-Operator-Boolean

  • About Strategy rules

    Strategies define the decision that is delivered to an application. The decision is personalized and managed by the strategy to reflect the interest, risk, and eligibility of an individual customer in the context of the current business priorities and objectives. The result of a strategy is a page (clipboard or virtual list) that contains the results of the components that make up its output definition.

  • Calling another activity
  • Decision Management methods

Have a question? Get answers now.

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