InvokeWorkflowAspect
Launches a workflow.
Examples
The following example launches the workflow Directory_User_VehicleRequest when a vehicle is requested for a new internal user.
<InvokeWorkflowAspect Identifier="Directory_User_VehicleRequest" ExpressionBinding="Workflow_Directory_User:Directory_User" IfExpression="C#:person:return person.Vehicle_Requested;" Workflow="Directory_User_VehicleRequest">
<PointCut Activity="Directory_User_NewInternal:Persist" ActivityState="Persist-Invoked" Mode="After" />
</InvokeWorkflowAspect>
Properties
| Property | Details |
|---|---|
| Identifier required | Type: String Description: Unique identifier of the aspect. |
| Workflow required | Type: String Description: Identifier of the workflow to be launched. |
| ExpressionBinding optional | Type: String Description: Binding:- that defines the variable type used in the potential expressions specified in the aspect;- whose difference with Binding defines the property involved in the aspect.Note: required when handling the property of multi-valued objects, for example records, to make sure to modify the property in all records and not only in one. |
| IfExpression optional | Type: String Description: Expression that conditions the aspect execution. See more details on C# expressions. |
| Priority default value: 0 | Type: Int32 Description: Execution priority among all aspects. At a given activity state, the aspect with the highest priority will be triggered first.Note: the priority can be a negative value. |
Child Element: PointCut
A pointcut is a mechanism telling Identity Manager when to execute the linked aspect.
The position of the pointcut is specified by an activity state and a mode (before or after).

| Property | Details |
|---|---|
| Activity required | Type |
| ActivityState required | Type |
| Mode default value: 0 | Type |