Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

addAndCondition

Adds a target group condition using the AND operator in Optimizely Campaign.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
modificationIdStringIdentifier created by beginConditionModification .
negateConditionbooleanSee Type conversion and formatting rules
attributeNameStringSee Type conversion and formatting rules
operationStringSee Available operators
operationParametersString[ ]See Attribute values

Return values

  • Code structure

    void addAndCondition(String sessionId, String modificationId, boolean negateCondition, String attributeName, String operation, String[] operationParameters)