The example below illustrates the metadata associated with the wrapped activity of type Manual. This metadata is exactly the same that as that seen for a manual activity described in Manual and hence will not be described here again. Any validations pertaining to the parallel manual activity mappings are also described in Manual. The Context_Parallel Workflow Data Object and an indexed item from the Parallel Activity List WDO can be used in all the available mappings for a Parallel Manual Activity. Examples of such usage can be seen below:
<parallel-activity id="1" category="AC1">
<list-wdo-name>EmployerDetailsListWDO</list-wdo-name>
<manual-activity>
...
<task>
<message>
<message-text>
<localized-text>
<locale language="en">Check employer
details for %1s. This is employer number: %1n.
</locale>
</localized-text>
</message-text>
<message-parameters>
<wdo-attribute
wdo-name=
"EmployerDetailsListWDO[Context_Parallel.occurrenceCount]"
name="fullName" />
<wdo-attribute
wdo-name=
"Context_Parallel" name="occurrenceCount" />
</message-parameters>
</message>
...
</task>
...
<event-wait wait-on-all-events="false">
<events>
<event identifier="1" event-class="EMPLOYER"
event-type="DETAILSCHECKED">
<event-match-attribute wdo-name=
"EmployerDetailsListWDO[Context_Parallel.occurrenceCount]"
name="identifier" />
</event>
</events>
</event-wait>
<biz-object-associations>
<biz-object-association biz-object-type="BOT2">
<wdo-attribute
wdo-name=
"EmployerDetailsListWDO[Context_Parallel.occurrenceCount]"
name="identifier" />
</biz-object-association>
</biz-object-associations>
</manual-activity>
</parallel-activity>