|
•
|
The Label column — the label of the primitive attribute workflow.
|
|
•
|
|
•
|
The Description column — the optional description of the primitive attribute workflow.
|
|
1
|
Select the primitive attribute for the workflow from the Attribute list.
|
|
2
|
|
3
|
|
4
|
Click Continue to continue to the next page.
|
|
5
|
Write an optional description for the workflow in the Description field.
|
|
The sort order for state conditions is only used when displaying these on the Primitive Attribute Workflow page.
|
|
1
|
Select the type of state condition to add in the Add State Condition menu. Select from State value, State expression, or one of the built-in state conditions — see also Table 3-8.
|
|
2
|
For a State value or State expression, write the label of the state condition in the Label field. Write an optional description in the Description field.
|
|
3
|
For a State value, specify the corresponding value for the state condition in the Value field. For Integer, Keyword, and Keyword array, write the state value in the input field. For Boolean, User, and User array, select the state value from the list.
|
|
4
|
Select the Default checkbox to enable a state condition as a default state condition.
|
|
State expressions support a subset of the Model Manager search syntax. You can combine state values with boolean AND and OR operators, use NOT and ANY operators, as well as group state values with parentheses. Use of wildcard characters (except ANY) or ranges is not supported. See also Primitive Attribute Field Expressions.
|
|
You introduce a default value for a primitive attribute by defining a workflow for the attribute having a State value condition set as a default state condition. The workflow must also be added to relevant asset types.
|
|
While primitive attributes of value types other than Boolean, Integer, Keyword, Keyword array, User, and User array cannot have state conditions of type State value or State expression, they can use built-in state conditions. Such workflows may be useful as member workflows of composite attribute workflows or asset type workflows when defining activities for transitions — see Composite Attribute Workflows and Using Workflows with Asset Types. You can also control which users can update the primitive attributes by adding permissions to their workflows.
|
|
A condition that is always satisfied. Combines the Any state value and No state value built-in state conditions.
|
|
|
The sort order for transitions is used when displaying these on the Primitive Attribute Workflow page. It is also used to determine the order of the button and menu options on the Asset page when a transition is enabled: the first enabled transition is shown for the button, the other as menu options via an expander button.
|
|
1
|
Click Add Transition to add a general transition. Click Add Action Transition to add an action transition.
|
|
2
|
Write the label of the transition in the Label field. Write an optional description in the Description field.
|
|
3
|
In the From field, select state conditions to add as from-state conditions for the transition.
|
|
4
|
In the To field, select state conditions to add as to-state conditions for the transition.
|
|
5
|
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. See also Permissions for changing the primitive attribute value itself.
|
|
For a Process workflow, any update to a primitive attribute value must happen through the firing of an action transition. State values corresponding to the from-state conditions of the action transition are removed, and state values corresponding to the to-state conditions are added.
|
|
If multiple transitions fire for the workflow when saving an asset, the overall authorization succeeds if the current user is granted permission to perform all general transitions that fired and, if any action transitions fired, at least one of those action transitions.
|
|
Action transitions for a primitive attribute of value type Timestamp do not appear as buttons on the Asset page.
|
|
A workflow having multiple from-state and to-state conditions in its transitions can be defined using a Checkbox list or a List box attribute. It could be used for a process in which an asset can be in “multiple stages” at the same time. An example would be a status-like attribute for which separate tasks need to be finished before the asset can move to the next stage, and these tasks are worked on in parallel.
|
|
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 value permission type, add state conditions from the Add State Condition menu to conditionally grant the permission.
|
|
•
|
Attribute. The primitive attribute for the workflow.
|
|
•
|
|
•
|
Label. The label for the workflow.
|
|
•
|
Description. The optional description for the workflow.
|
|
•
|
State conditions. The list of state conditions for the workflow. 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, and granted permissions. Hidden if the workflow does not have any transitions.
|
|
•
|
Permissions. The list of granted permissions for changing the value of the primitive attribute. Hidden if no permissions have been explicitly granted, which means that all users are allowed to change the attribute value.
|