# @jc:select Annotation

Accepts values to search for Tasks, including TaskSelector objects, and returns a set of Task IDs.

Used by the Task Worker control.

### Syntax

@jc:select

[assigned-group="group(s) for assignee list"]
[assigned-user="user(s) for assignee list"]
[claimant="the claimant user"]
[claim-due-date-after="search for Tasks with claim due dates after this value"
[claim-due-date-before="search for Tasks with claim due dates before this value"
[comment="the Task comment"]
[completion-due-date-after="search for Tasks with completion due dates after this value"]
[completion-due-date-before="search for Tasks with completion due dates before this value"]
[creation-date-after="search for Tasks with creation dates after this value"]
[creation-date-before="search for Tasks with creatoin dates before this value"]
[max-priority="return Tasks with priorities less than or equal to this value"]
[min-priority="return Tasks with priorities greater than or equal to this value"]
[owner="search by Task owner"]
[property-name="search by property name"]
[property-value="search by the value of the setting for property-name"]
[selector="a TaskSelector object to use for searching Tasks"]
[states="search by Task state"]
[task-id="search by Task ID"]

### Attributes

assigned-group

A string or string array (string []) that specifies a search by groups on the Assignees List for a Task.

assigned-user

A string or string array (string []) that specifies a search by users on the Assignees List for a Task.

claimant

A string or string array (string []) that specifies a search by the claimant for a Task.

claim-due-date-after

Specifies a search by Tasks with a due date after the value you provide (java.lang.Date).

claim-due-date-before

Specifies a search by Tasks with a claim due date before the value you provide (java.lang.Date).

comment

A string that specifies a search by Task comments.

completion-due-date-after

Specifies a search by Tasks with a completion due date after the value you provide (java.lang.Date).

completion-due-date-before

Specifies a search by Tasks with a completion due date before the value you provide (java.lang.Date).

creation-date-after

Specifies a search by Tasks with a creation date after the value you provide (java.lang.Date).

creation-date-before

Specifies a search by Tasks with a creation date before the value you provide (java.lang.Date).

max-priority

Specifies a search by Tasks with no greater priority than the value you provide (java.lang.Long).

min-priority

Specifies a search by Tasks with no lesser priority of the value you provide (java.lang.Long).

owner

A string or string array (string []) that specifies a search by the Task owner.

property-name

A string that specifies a search by Tasks with a given property.

property-value

A string that specifies a search by Tasks with a given value for the property defined by property-name.

selector

A TaskSelector that specifies a search by the configuration of the TaskSelector object you provide for this value.

states

Specifies searching of Tasks by state. Values can be as follows:

A string or string array of valid state types, such as completed or assigned.

An integer or integer array representation of state types (java.lang.Long).

A com.bea.wli.worklist.api.StateType or StateType array.

task-id

A string or string array (string []) that specifies a search by the unique Task ID.

assigned-group

A string or string array (string []) that specifies a search by the groups on the Assignees Lists for a Task.