| Skelta Workflow.NET 2004 Help |
|
Using Custom Fields
|
The application data available in contents or variables can be displayed in the
activity list using custom fields. The ‘Custom Fields’ property of the resource
actions can be used for mapping the contents and variables with the custom
fields. This field will automatically be displayed in the activity list once
the action gets executed and the task is assigned to a resource. When the
action is executed, the values of the custom fields are persisted to the
database (SWActivityCustomFields table).
To display the custom fields you need to set the
following properties for the Activity Control:
-
ActivityControl1.DisplayWorkflowLevelCustomFields=false;
-
ActivityControl1.DisplayCustomFieldsInColumns=true;
-
ActivityControl1.DisplayWorkflowLevelCustomFieldsInSearch=false.
Custom fields can be used to display content, variable or application data in
the Activity List. The following steps are required for setting the custom
fields.
-
Identify the content or the variable that needs to be displayed in the activity
list.
-
Add custom fields using the "Custom Fields" property for resource actions in
process designer.
Adding Custom Fields
-
After adding the custom fields, set the custom fields that are required for the
particular action (In the normal scenario the Add, Modify, and Delete buttons
will be hidden from users by setting the CanControlCustomFields property in the
Process Designer control.)
Custom Fields Value Setting
-
The custom fields can be prevented from being displayed dynamically in the
activity list by setting the property DisplayCustomFieldsInColumns of the
Activity Control to "False".
The custom fields can also be added manually to the activity list by editing
the ActivityXml.xml (Activities\Config). A new column needs to be added with
the type="customfield". A sample for adding the custom field is provided in the
config file.
The selected custom fields can be seen in the Activity List shown below.
Custom Fields in Activity List
Skelta - A BPM Workflow Software Company