isMaxRecipientsRandomOrder
Queries whether the recipients should be selected on a random basis in Optimizely Campaign.
This method depends on the setMaxRecipients method. See also getMaxRecipients, setMaxRecipients, and setMaxRecipientsPercentage.
Type: boolean
Parameters
Name | Type | Value |
---|---|---|
sessionId | String | ID of the session |
mailingId | long | ID of the mailing |
Return values
- true: Recipients are selected on a random basis. The return value is trueif:
- the option Maximum number of recipients is activated and a corresponding value is set and
- the option Random order is activated.
- false: Recipients are not selected on a random basis.
Code structure
boolean isMaxRecipientsRandomOrder(String sessionId, long mailingId)
Updated over 2 years ago