Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
78:dependentelements [2022/01/31 12:25] – sph | 78:dependentelements [2023/11/17 15:56] – ndn |
---|
{{ https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/78/wpaddstatefromactivity.png?nolink&1000x448 }} | {{ https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/78/wpaddstatefromactivity.png?nolink&1000x448 }} |
| |
Next type in the name of the state as shown in **<font inherit/inherit;;#ffffff;;#c0392b>(2)</font> **and select the Create option as shown in <font inherit/inherit;;#ffffff;;#c0392b>**(3)**</font>. In the following example, a new state called 'Approved' has been added. | Next type in the name of the state as shown in ** <font inherit/inherit;;#ffffff;;#c0392b>(2)</font> **and select the Create option as shown in |
| <font inherit/inherit;;#ffffff;;#c0392b>**(3)**</font> . In the following example, a new state called 'Approved' has been added. |
| |
{{ https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/78/wpaddstatefromactivitycreate.png?nolink&350x303 }} | {{ https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/78/wpaddstatefromactivitycreate.png?nolink&350x303 }} |
{{https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/78/wpstateedit_2.png?nolink&1000x352}} | {{https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/78/wpstateedit_2.png?nolink&1000x352}} |
| |
**Note:** For consistent interpretation across the user base, it is recommended to provide a description of what this state means by clicking or tapping on three dots next to the newly added state as shown in** <font inherit/inherit;;#ffffff;;#c0392b>(2)</font> **and selecting the Edit option which will open the description text. | **Note:** For consistent interpretation across the user base, it is recommended to provide a description of what this state means by clicking or tapping on three dots next to the newly added state as shown in** |
| <font inherit/inherit;;#ffffff;;#c0392b>(2)</font> **and selecting the Edit option which will open the description text. |
| |
{{ https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/78/wpstateeditmagnified.png?nolink&350x362 }} | {{ https://doc.stagesasaservice.com/lib/plugins/ckgedit/fckeditor/userfiles/image/78/wpstateeditmagnified.png?nolink&350x362 }} |
* ''activitiy.getEntities("input")'' and ''activity.getEntries("output")'' now return a list of either work products or states | * ''activitiy.getEntities("input")'' and ''activity.getEntries("output")'' now return a list of either work products or states |
* ''getProperty("Dependent")'' can be used to determine if an element is a normal element (= false) or state element (= true) | * ''getProperty("Dependent")'' can be used to determine if an element is a normal element (= false) or state element (= true) |
| ===== Behavior of readiness checks with work product states ===== |
| |
| Process version readiness checks that check **association constraints** run **only on the work product** itself, not independently for each state. The input for an association constraint check will be the associations of the work product itself, merged with the associations of all states. For instance: |
| * "Each work product is an input to at least one activity": It is sufficient that the work product (or any state) is input to an activity |
| |
| The same behavior is also applied for association constraints of type "single" or "none", and other dependent element subtypes that may be configured in the metamodel. For instance, when a "step" dependent element subtype is configured for activities: |
| |
| * "Each activity must have exactly one responsible role": It is sufficient that the activity itself (or any step) has one responsible role. Different steps must not have different responsible roles. |
| |
| |