SearchScope.SearchScope(participantScope,statusScope)

This constructor create a new SearchScope with a specific participant and status scope and empty activity scope.

Arguments:

Name Type Description Mode
participantScope Enum ParticipantScope(ALL,PROCESS_ROLES,ALL_IN_ROLE,PARTICIPANT_ROLES,PARTICIPANT) The participant scope to search in
statusScope Enum StatusScope(ONLY_INPROCESS,ONLY_COMPLETED,ONLY_ABORTED,INPROCESS_AND_COMPLETED,INPROCESS_AND_ABORTED,ABORTED_AND_COMPLETED,ALL) The status scope to search in