DistributeByPercentage - Amazon Connect

DistributeByPercentage

Returns a random number between 1 and 100 (inclusive) as its result, allowing comparisons against it.

Parameter object

{ }

Results and conditions

A number between 1 and 100, inclusive, chosen randomly. Comparisons are supported, but they must be a chain of NumericLessThan comparisons, with each subsequent comparison checking the previous value, plus the percentage that is desired to go down this next action, and no Comparison comparing a value larger than 100.

Errors

  • NoMatchingCondition if no Condition matches. This is the default option in the flow editor.

Restrictions

This action is available in inbound flows, transfer flows, and customer queue flows. It is not available to hold flows or to whisper flows.

Corresponding block in the UI

Distribute by percentage