< parameter />

The parameters object used by data binding expressions contains parameter values that are passed to the workflow rule from the client. Parameters may be added to a dataSource by declaring one or more parameter elements with their name and dataType attributes. You may specify a default value to be used if the client does not send a value.

<dataSource id="test">
<table name="project" role="main" />
<field table="project" name="project_id" />
<field table="project" name="requestor" />
<field table="project" name="status" />
<parameter name="status" dataType="text" value=""/>
<sql dialect="generic">
SELECT project_id, requestor, status FROM project
WHERE status = ${parameters["status"]}
</sql>
</dataSource>


Enclosing Element:
This tag is a direct child of the <dataSource> element.

Encloses: This tag does not enclose any child elements.
Attributes
Attribute Description Valid Values Optional
name Specifies an id to be used as a handle to the parameter. A unique name among parameters in this view no
dataType Specifies parameter data type text , verbatim no
value Specifies a default value which will be used if the client does not send a value any valid value yes