Skip to main content
LinkedIn
Copied!

Table of Contents

Adjusting journey weight

Similar to the weight adjustment for Arbitration Influencers, the weighting of actions associated with a Journey Stage may also be adjusted.

The Journey Stages DDR is populated by the UI during Journey Stage editing, however, the editing of the weighting properties will not be available via the UI until a later release, although these properties are included in the DDR for manual editing by advanced users if required.

The properties are the same as those for Arbitration Influencers and are shown below.

Property Description
WeightAdjustInterval Time period over which the action weight will be adjusted in minutes.
WeightAdjustDuration Time interval between adjustments in minutes.
WeightAdjustStartValue The starting upweight value.
WeightAdjustEndValue The ending upweight value (if this is less than the start then the weight will be decayed).

The weight adjustment properties allow the action Weight to be adjusted so that if Action weighting is enabled in the Arbitration tab of Next-Best-Action Designer. This will affect the overall priority of the Journey Stage actions.

If journey upweighting is not required, ensure that WeightAdjustStartValue and WeightAdjustEndValue are both set to zero (or left blank).
The detailed weight adjustment calculations are shown below.

Output Bundling Settings DDR

The weight adjustment properties allow the action Weight to be adjusted so that if Action weighting is enabled in the Arbitration tab of Next-Best-Action Designer. This will affect the overall priority of the target actions. The detailed weight adjustment calculations are shown below.

Property Description Formula
pyLastResponseTime The time when the outcome that triggered the journey weight adjustment occurred. .TimeInCurrentStage = @DateTimeDifference(.StageStartDateTime, @getCurrentTimeOfDayStamp(), "m") .WeightAdjustInterval = @if(.WeightAdjustInterval>0, .WeightAdjustInterval, 1)
Quantity Total number of weight duration intervals. .Quantity = @if(.WeightAdjustDuration > 0, @divide(.WeightAdjustDuration, .WeightAdjustInterval, 0), 1)
Value The weight increment per interval, negative if start weight is greater than end weight. Value = @divide((.WeightAdjustEndValue - .WeightAdjustStartValue), .Quantity, 2)
JourneyWeight The incremental upweighting value for the target actions, note that this could be negative. .JourneyWeight = @if(.TimeInCurrentStage > .WeightAdjustDuration, .WeightAdjustEndValue, .WeightAdjustStartValue + (@divide(.TimeInCurrentStage, .WeightAdjustInterval, 0, "down") * .Value))

The resultant JourneyWeight is then added to the action Weight property for use in the arbitration formula.

Did you find this content helpful?

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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us