Work - AdvanceUI Fields
- Last UpdatedJun 26, 2024
- 8 minute read
AdvanceUI Fields Property window
You can launch the user-interface to configure the functionality of the Work activity from this property window. To open this window, click the button for the 'AdvanceUI Fields' property.

You can select the type of work activity view to configure – General or Role Based – using the two radio buttons in this window.
-
General View
-
Role Based View
You can click Next to go to the next window for adding the activity details. This will vary depending on the type of view selected.
Configuration for General View
The window shown below is opened when you click the General View radio button in the previous window. It is used to specify the action outputs for the Work activity with the General View. This window has two fields common to the General View, which are displayed at the top of all the corresponding property windows.
-
Action view config file
You can specify the Advance UI XML configuration file in this field.
There are three radio buttons – Action Outputs, Template PlaceHolders, and Output Variables – that can be selected to display the respective property setting controls in the lower half of the window.
The window shown below is displayed when the Activity Output is selected. It can be used to map the outputs of the activity with the possible outputs and specify whether the output is a task completion maker.

You can set the following parameters here.
-
Outputs - This shows the output of the activity.
-
Mapped Outputs - You can specify the outputs to map to here.
-
Completion Maker - You can select "Yes" from this drop down to indicate that the corresponding output will mark the completion of the activity.
You can click Save Action Outputs to save the new settings.
The window shown below is displayed when you select the Template Placeholders radio button. You can specify the values to the template placeholders in the Work activity here.

The window lists all the template placeholders configured for the activity under the Template Placeholders Description column. You can specify the value for each placeholder using the following controls.
-
The Value type drop down - You can select the type of value to assign from the options in this drop down. You can set a discrete value, variable or content here.
-
The Value text box/drop down - You can specify the value here. If you selected "SetValue" in the previous drop down this control will be a text box. It will show a drop down otherwise, where you can select an appropriate variable or content collection.
You can click Preview to see a preview of the template setting. You can click Save Template Placeholders to save the settings.
The window shown below is displayed when you select the Output Variables radio button. You can specify the output variable and the HTML element mapped to it here

The window lists all the output variables for the activity under the Output Variables Desc column. You can specify the value for each placeholder using the following controls.
-
Value Type - You can select the type of value to assign from the options in this drop down. You can set a variable or content here.
-
Variable to store - You can specify the variable to store the output here. You can select an appropriate variable or content collection from this drop down.
-
Operator - You can select an operator from this drop down.
-
HTML Element Mapped - You can specify the HTML Element that is to be mapped to the output variable.
You can click Save Output Variables to save the settings.
Configuration for Role Based View
The window shown below is opened when you click the Role Based View radio button in the main AdvanceUI Fields property window. It is used to define a role for the Work activity. It is displayed when you use the Work activity for the first time. This window has three columns in this window, which you can use to add roles.

-
Specify Role - You can specify the name of the new role in this field.
-
Role Button - This column has the Define Filter button. You can click this button to open the filter definition button.
-
Specified Filter - The field in this column displays the newly defined filter.

This window has three buttons.
-
Save and Add Row - You can click this button to save the role defined in the current row and add another row to add a role.
-
Remove Selected - You can select a row and remove it using this button.
-
Next - You can click this button after adding the required roles for the Work activity to continue to the main window for the Role Based View.
The window shown below is displayed when you click the Define Filter button in the previous window. You can build a role filter condition for the new role here. The following image shows how to build a role filter condition

The window has a set of drop downs at the top to select the different parameters required to build an expression to define the filter. You can also find related buttons next to the drop downs.
-
The Attribute drop down - You can select the attribute to be used to filter the participant, e.g., "AdministratorId", in this drop down.
-
The Operator drop down - You can select the operator for the expression here. E.g., "="
-
The Value type drop down - You can select the type of value to assign to the attribute in the expression. You can specify Variable, Content, Value, or XMLVariables here.
-
The Value text box/drop down - You can specify the actual value to assign to the attribute. The control displayed depends on the option selected in the preceding drop down. If you had selected "Value", it will display a text box here. You can enter a discrete value in this box to complete the expression. If you had selected "Variable", "Content", or "XMLVariables" instead, there will be a drop down instead of the field. This drop down will have the variable collection or content collection or XMLVariables collection from which you can select an appropriate option.
-
The Logical operator drop down - You can select logical operators from this drop down to build compound expressions. The options available are "End", "And", "Or", "')' And", and "')' Or". You can select "End" to complete the expression.
-
Add - You can click this button to add the new expression to the Specified Filter field in the previous window.
-
Undo - You can click this button to remove a condition you have added to the expression.
The window shown below is displayed when you click Next in the Role Definition window, if you are using the Work activity for the first time. If you are not using the activity for the first time this window will be opened when you select the Role Based View radio button in the ActivityUI property main window. You can specify the action outputs for the Work activity with the Role Based View. This window has two fields common to the General View, which are displayed at the top of all the corresponding property windows.
-
Role Name - You can select the role for which the View you are configuring will be accessible from this drop down.
-
Action view config file Name - You can specify the Advance UI XML configuration file in this field.
There are three radio buttons – Action Outputs, Template Placeholders, and Output Variables – that can be selected to display the respective property setting controls in the lower half of the window.
The window shown below is displayed when the Action Output is selected. It can be used to map the outputs of the activity with the possible outputs and specify whether the output is a task completion maker.

Action Output window for Role Based View
You can set the following parameters here.
-
Outputs - This shows the output of the activity.
-
Mapped Outputs - You can specify the outputs to map to here.
-
Completion Maker - You can select "Yes" from this drop down to indicate that the corresponding output will mark the completion of the activity.
You can click the Save Action Outputs to save the new settings.
The window shown below is displayed when you select the Template Placeholders radio button. You can specify the values to the template placeholders in the Work activity here.

Template Placeholders window for Role Based View
The window lists all the template placeholders configured for the activity under the Template Placeholders Description column. You can specify the value for each placeholder using the following controls.
-
The Value type drop down - You can select the type of value to assign from the options in this drop down. You can set a discrete value, variable or content here.
-
The Value text box/drop down - You can specify the value here. If you selected "SetValue" in the previous drop down this control will be a text box. It will show a drop down otherwise, where you can select an appropriate variable or content collection.
You can click Preview to see a preview of the template setting. You can click Save Template Placeholders to save the settings.
The window shown below is displayed when you select the Output Variables radio button. You can specify the output variable and the HTML element mapped to it here.

Output Variables window for Role Based View
The window lists all the output variables for the activity under the Output Variables Desc column. You can specify the value for each placeholder using the following controls.
-
Value Type - You can select the type of value to assign from the options in this drop down. You can set a variable or content here.
-
Variable to store - You can specify the variable to store the output here. You can select an appropriate variable or content collection from this drop down.
-
Operator - You can select an operator from this drop down.
-
HTML Element Mapped - You can specify the HTML Element that is to be mapped to the output variable.
You can click the Save Output Variables to save the settings.