|
•
|
The Label column — the label of the composite attribute workflow.
|
|
•
|
The Description column — the optional description of the composite attribute workflow.
|
|
1
|
Select the composite attribute for the workflow from the Attribute list.
|
|
2
|
|
3
|
Click Continue to continue to the next page.
|
|
4
|
Write an optional description for the workflow in the Description field.
|
|
You introduce default values for new table rows of a composite attribute in Table mode by defining a workflow for the composite attribute that has member workflows with State value conditions set as default state conditions. The workflow must also be added to relevant asset types.
|
|
1
|
Select the type of state condition to add in the Add State Condition menu.
|
|
2
|
For a State expression, write its label and optional description in the Label and Description field, respectively.
|
|
3
|
For a State expression, specify the expression statement in the Expression field. You write the statement by combining primitive attribute field expressions for the member attributes using boolean AND and OR operators, NOT and ANY operators, and by grouping them with parentheses. Unlike a primitive attribute workflow, you do not include the attribute identifier of the composite attribute itself in the expression. As an example,
|
|
For a composite attribute in Simple mode, the state conditions apply on the aggregated values of the member attributes. For a composite attribute in Table mode, the state conditions apply on a per-table-row basis.
|
|
See Adding Primitive Attribute Workflows for how to write the primitive attribute field expressions themselves.
|
|
A condition that is always satisfied. Combines the Any state value and No state value built-in state conditions.
|
|
|
For a composite attribute in Simple mode, a state condition that is satisfied if at least one member attribute has a non-empty value. For the table row of a composite attribute in Table mode, a condition that is satisfied if at least one table cell in the row has a non-empty value.
|
|
|
For a composite attribute in Simple mode, a state condition that is satisfied if all member attributes have an empty value. For the table row of a composite attribute in Table mode, a condition that is satisfied if all table cells in the row have an empty value.
|
|
A transition that is enabled when adding a table row has from-state conditions that match a “default” table row populated with the values corresponding to the default state conditions of member workflows. If no member workflow has default state conditions, a No state value condition from the composite attribute workflow itself is enough as a from-state condition. Otherwise, at least one default state condition from a member workflow must be used. An Any state value condition can be used as a to-state condition for the transition. If the composite attribute has a primary member, you can also use the state expression conditions
NOT @<primary-identifier>:ANY and @<primary-identifier>:ANY as an alternative from-state and to-state condition, respectively. Finally, if you define a workflow for the primary member and add it as a member workflow, you can use No state value and Any state value conditions from the member workflow as from-state and to-state condition, respectively. |
|
A transition that fires when removing a table row has to-state conditions that match an empty table row. A No state value condition from the composite attribute workflow itself is enough as a to-state condition. An Any state value condition can be used as a from-state condition for the transition to be enabled.
|
|
1
|
Click Add Transition.
|
|
2
|
Write the label of the transition in the Label field. Write an optional description in the Description field.
|
|
3
|
In the From and To field, select state conditions to add as from-state and to-state conditions for the transition, respectively.
|
|
4
|
In the Permissions table for the transition, add users and groups that are granted permission to perform the transition. Leave the table empty to grant everyone permission.
|
|
1
|
Select either Perform transition or Transition cancellation. in the Add Activity menu below a transition.
|
|
2
|
Write the label of the activity in the Label field. Write an optional description in the Description field.
|
|
3
|
|
The state conditions of all transitions are evaluated before any Perform transition activities have been run. This prevents any cascading effects where running an activity inadvertently fires unrelated transitions.
|
|
The action transitions performed by Perform transition activities are not subject to any access control checks. Only access control for the fired transition, that the activities themselves belong to, is checked.
|
|
1
|
Add a user or group to the Permissions table at the bottom of the page.
|
|
2
|
In the Permissions with State Conditions table cell, next to the Change values permission type, add state conditions from the Add State Condition menu to conditionally grant the permission. A state condition can either belong to the composite attribute workflow itself or to one of its member workflows.
|
|
•
|
Attribute. The composite attribute for the workflow.
|
|
•
|
Label. The label for the workflow.
|
|
•
|
Description. The optional description for the workflow.
|
|
•
|
Member workflows. The primitive attribute workflows that are members of the workflow.
|
|
•
|
State conditions. The list of state conditions for the workflow, with all State expression conditions shown first followed by all built-in state conditions. Hidden if the workflow does not have any state conditions.
|
|
•
|
Transitions. The list of transitions for the workflow, including their from-state condition, to-state conditions, activities, and granted permissions. Hidden if the workflow does not have any transitions.
|
|
•
|
Permissions. The list of granted permissions for changing the values of the composite attribute. Hidden if no permissions have been explicitly granted, which means that all users are allowed to change the values.
|
|
You cannot use a No state value condition belonging to a member workflow for the required table column as such a transition would not fire when adding a new table row (as the empty table cell would be considered unmodified).
|