Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


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

Type: void


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)