Workflow Triggers
Assign Step If User Trigger
Overview
This workflow trigger is an example of a conditional workflow trigger. It examines the step that just occurred, and if it was done by the specified username, it advances the workflow to the step specified by the second parameter instead of the standard workflow step progression path.Declaration
<trigger class="com.cms.workflow.function.AssignStepIfUser" name="AssignStepIfUser"/>
Usage
<trigger name="AssignStepIfUser">
<parameter>
<name>username</name>
<value>user1</value>
</parameter>
<parameter>
<name>nextstep</name>
<value>step1</value>
</parameter>
</trigger>
Parameters
Username
<parameter>
<name>username</name>
<value>user1</value>
</parameter>
Next Step
<parameter>
<name>nextstep</name>
<value>step1</value>
</parameter>