Sun Identity Manager Deployment Reference

Workflow Actions

A workflow activity can perform one or more actions. One possible action is the evaluation of an XPRESS expression, as shown in the example below.

<Activity name=’Increment Counter’>
   <Action>
      <expression>
         <set name=’counter’>
            <add> <ref>counter</ref> <i>1</i> </add>
         </set>
      </expression>
   </Action>
   <Transition to=’Next’/>

</Activity>

When a workflow action is implemented in XPRESS, an XPRESS expression is wrapped in an expression element that is then placed within an Action element. In this example, the expression references the current value of a variable named counter, adds one to that value, then assigns the incremented value to the variable with the same name.