Skelta Workflow.NET Help
ResourceVariable Action

The ResourceVariable Action can be used to identify a resource to perform a workflow action, through a variable. It sets the resource properties to a variable. If the variable type is set as 'resource' then the resource property is set to the variable. If variable is set as 'string' then the resource ids are assigned to variable. The contents of the variable will determine the execution path of the workflow.

Property

Description

To

This property specifies the resource to whom the ResourceSet action will be assigned.

SetVariable

This property allows the user to select the variable to which the resource properties will be set. The variables will have to be created in the properties for the Start action. The variables can be one of the three types - String, Array or Resource. String variables take one UserID at a time, while Arrays take in a number of UserIDs pointing to different resources. Resource variables will take the complete resource properties.


 Property settings for ResourceVariable

To add the ResourceVariable action to the workflow click on the ResourceVariable button in the toolbox. An icon for the ResourceVariable action will be added in the Design Area. The action can be linked with the workflow by clicking on the Link button in the tool box. To set the properties for the ResourceVariable action click on the ResourceVariable icon in the Design Area. The properties corresponding to the ResourceVariable action will be displayed in the Properties pane of the Process Designer.

Fig 1. ResourceVariable properties (Top)

To select the resources to whom this ResourceVariable is to be sent, click on the button for the 'To' property. A window pops up (Fig 1.), in which the resources can be selected. An expression can be built to select the resources based on the resource properties. Select a property from the list, then select the operator, the type of value (Value, Variable, Content), corresponding value for the property and the logical operator. Add the condition to the expression by clicking the Add button. To end the expression select the 'End' instead of a logical operator. To remove a condition already added to the expression, click the Undo button. After building the expression, click the Update button to update the expression for the condition property. To clear the expression click on the Clear button.

Fig 2. To property (Top)