Enabling multiple audiences in decision strategies through the Embedded strategy shape
Create complex strategies that target multiple types of audiences by adding and configuring the Embedded strategy shape on a Strategy rule form. The Embedded strategy shape simplifies the design of complex strategies because it enables offering services or communicating with various types of customers through substrategies that are embedded in the top-level strategy, without having to constantly switch between substrategies.
- In the navigation panel, click .
- Open the Strategy rule that you want to edit by clicking it.
- On the Strategy tab of the Strategy rule that you
selected, add an Embedded strategy shape by performing the following
actions:
- To add an audience as context that you already preconfigured as part of the pyDictionary rule, go to step 4. For more information, see Configuring audiences for multiline decision strategies.
- To add and configure a new context, skip to step 5.
- To add an existing audience as a context for an embedded strategy, perform the
following actions:
- Place your cursor on the strategy canvas.
- Right-click and select .
- Configure your decision management framework for the audience that you added as context by adding shapes and connections within the Embedded strategy shape.
- Go to step 6.
- To configure a new audience as context for an embedded strategy, perform the
following actions:
- Place your cursor on the strategy canvas.
- Right-click and select .
- Click .
- Enter the shape's name and description.
- On the Inputs tab configure the following
properties:
- Iterate over – The property that the Embedded strategy shape iterates over. You can select a property of single page, page list, or page group. For example, .FamilyMembers.
- and access the data for each entity within the selected property's name as – The alias name for each entity within the context. Use this name to reference the current audience context for each iteration. For example, FamilyMember.
- using - The input configuration. You must
configure the inputs for the Embedded strategy shape only when
that shape has incoming records.
- All inputs – Use every data page as input.
- Inputs for alias name – Use as input only the data pages in which the values of the pySubjectID and pySubjectType properties match.
- Inputs matched by custom conditions – Use as input only the data pages that match a filtering condition.
- On the Results tab, configure how to output the
data from your context by selecting one of the following options:
- All results – Use all outgoing records from the Context shape as output.
- A result for each alias name – Use only one result for each unique subject ID.
- Single, aggregated result – Use an aggregated result as an outcome of the Context shape.
- Results using custom aggregation conditions – Use a custom aggregation method to output data from the Context shape.
- Configure your decision management framework for the audience that you added as context by adding shapes and connections within the Embedded strategy shape.
- Click Save to save the rule.
Previous topic Configuring audiences for multiline decision strategies Next topic Defining a Prediction shape