HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

addOrCondition

Adds a target group condition using the OR 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 addOrCondition(String sessionId, String modificationId, boolean negateCondition, String attributeName, String operation, String[] operationParameters)
    

Did this page help you?