Section II – Functional Modules > Queue Interface > Parameter Elements Bottom of Page
| Genesys 8.0 SCXML Technical Reference
< Functions Action Elements >

## Parameter Elements

The `<submit>` action element has parameter elements that can be used as input for the target and outbound attributes.

#### <targets>

This is the top-level element which defines the set of targets from which a given target is selected for the submit request.

##### Attributes

Name | Required | Type | Default Value | Valid Values | Description
--- | --- | --- | --- | --- | ---
type | false | NMTOKEN | none | agent, place, agentgroup, placegroup, queue, dn, skill, campaigngroup, routepoint, label | This specifies the default resource type that should be used if a type attribute is not specified in the associated `<target>` elements.
statserver | false | value expression | none | any value expression that returns a valid string | A value expression which returns the default statserver that should be used if a statserver attribute is not specified in the associated `<target>` elements. See SCXML Legal Data Values and Value Expressions for details.

##### Children

- `<target>` Occurs 0 to N
- `<targetid>` Occurs 0 to N
- `<activity>` Occurs 0 to 1 — This element is also mutually exclusive with the other child elements.
- `<workbin>` Occurs 0 to 1 — This element is used as the target's workbin of objects specified in the `<targets>` element.

#### <targetid>

This defines a specific means of representing a set of targets.

##### Attributes

Name | Required | Type | Default Value | Valid Values | Description
--- | --- | --- | --- | --- | ---
expr | true | value expression | none | Any value expression that returns a string that follows the format defined in the description | This is the ID of the target that is to be used. It is a string with a set of comma-separated sub-strings with the following format: `{threshold}[weight]name@server.type` or `{threshold}[weight]?name:skillexpression@server.type` The following is an example: `"'{StatCallsInQueue&lt;10}[25]8001.Q, {StatCallsInQueue&lt;10}[25]8002.Q, {StatCallsInQueue&lt;20}[50]8003.Q"'` The following are the details of the different elements of the sub-strings. weight — same as defined in `<target>` element name — same as defined in `<target>` element server — same as defined in statserver attribute in the `<target>` element type — same as defined in `<target>` element, but with the following abbreviations: A (for agent), AP (for agent place) GA (for group of agents) GP (for group of places) Q (for Queues) RP (for routing points) CG (for campaign group) DL (for destination label) skilexpr — same as defined in `<target>` element threshold — same as defined in `<target>` element See SCXML Legal Data Values and Value Expressions for details.

##### Children

None

#### <target>

This defines the resource criteria for selecting a target.

##### Attributes

Name | Required | Type | Default Value | Valid Values | Description
--- | --- | --- | --- | --- | ---
name | true | value expression | none | Any value expression that returns a valid string which represents a resource of the defined type. | A value expression which returns the name of the target that is to be used. See SCXML Legal Data Values and Value Expressions for details.
skillexpr | false | value expression | none | Any value expression that returns a valid string which represents a valid skill expression | This is the skill expression associated with this `<target>` element. For details on the format, see the Skill Expressions section. See SCXML Legal Data Values and Value Expressions for details.
type | false | NMTOKEN | none | agent, place, agentgroup, placegroup, queue, dn, skill, campaigngroup, routepoint, label | This specifies the resource type associated with this `<target>` element. The skill and agentgroup types are synonymous.
statserver | false | value expression | none | none | A value expression which returns the statserver that should be used for this target definition. See SCXML Legal Data Values and Value Expressions for details.
threshold | false | value expression | none | Any value expression that returns a valid string which represents a valid threshold expression | A value expression which returns a criteria definition that is used to further filter the potential possible targets associated with this `<target>` attribute. threshold is an analog of the strategy function SetTargetThreshold and defines additional conditions the target must meet to be considered as valid target for routing. The following queue-specific methods can be used in a value expression. These methods are not executed inline as part of interpreting this attribute but are processed by the underlying queue functional module: sdata(target, statistic) — Use this function to affect routing conditions based on statistics. Acfgdata(Application name, folder, property, default value) — Use this function to affect routing conditions based on external data stored in properties of configuration layer application objects (ApplicationConFigDATA). Lcfgdata(list name, folder, property, default value) — Use this function to affect routing conditions based on external data stored in IRD list objects. callage — Use this function to return the age of an interaction in seconds. See SCXML Legal Data Values and Value Expressions for details.
weight | false | value expression | none | Any value expression that returns a valid string | A value expression which returns a value that defines the weight of this `<target>` element against other `<target>` elements. See SCXML Legal Data Values and Value Expressions for details.

- The name, skillexpr, weight, statserver and type attributes are interpreted as constants. They are components of the target specification format `[weight]name@statserver.type`. If skillexpr is present, then the format is `[weight]?name:skillexpression@statserver.type`.

##### Children

None

#### <activity>

This defines the workforce management activity criteria for selecting a target.

##### Attributes

Name | Required | Type | Default Value | Valid Values | Description
--- | --- | --- | --- | --- | ---
name | true | value expression | none | Any value expression that returns a valid string which represents the name of a WFM activity | A value expression which returns the name of a WFM activity that is to be used for target selection. See SCXML Legal Data Values and Value Expressions for details.
cutofftime | false | value expression | none | Any value expression that returns an integer | A value expression which returns the cutoff time in seconds. This defines the window time in which a potential target resource must be assigned to the given activity. See SCXML Legal Data Values and Value Expressions for details.

##### Children

None

#### <workbin>

This defines the workbin criteria for selecting a target.

##### Attributes

Name | Required | Type | Default Value | Valid Values | Description
--- | --- | --- | --- | --- | ---
type | true | NMTOKEN | none | agent, place, agentgroup, placegroup | This specifies the resource type associated `<workbin>` element.
name | true | value expression | none | Any value expression that returns a valid string which represents a workbin. | A value expression which returns the name of the workbin that is to be used. See SCXML Legal Data Values and Value Expressions for details.
loggedinonly | false | boolean expression | false | Any value expression that returns true or false | A boolean expression which returns whether logged out agents can pull interactions. (Dis)Allow using of logged out agents.

##### Children

None

Section II – Functional Modules > Queue Interface > Parameter Elements Top of Page
| Genesys 8.0 SCXML Technical Reference
< Functions Action Elements >