HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

isInUse

Queries whether a target group is used anywhere in Optimizely Campaign.

Temporary target groups are excluded.

Type: boolean

Parameters

NameTypeValue
sessionIdStringID of the session
filterIdlongID of the target group

Return values

  • true: Target group is used
  • false: Target group is not used

Code structure

boolean isInUse(String sessionId, long filterId)

What’s Next
Did this page help you?