Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Adjusting journey weight

Updated on August 4, 2022

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

Pega Customer Decision Hub

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.

PropertyDescription
WeightAdjustIntervalTime period over which the action weight will be adjusted in minutes.
WeightAdjustDurationTime interval between adjustments in minutes.
WeightAdjustStartValueThe starting upweight value.
WeightAdjustEndValueThe 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.

Note: 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.

PropertyDescriptionFormula
pyLastResponseTimeThe time when the outcome that triggered the journey weight adjustment occurred..TimeInCurrentStage = @DateTimeDifference(.StageStartDateTime, @getCurrentTimeOfDayStamp(), "m") .WeightAdjustInterval = @if(.WeightAdjustInterval>0, .WeightAdjustInterval, 1)
QuantityTotal number of weight duration intervals..Quantity = @if(.WeightAdjustDuration > 0, @divide(.WeightAdjustDuration, .WeightAdjustInterval, 0), 1)
ValueThe 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.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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