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

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)