Wiki source code of Statuswechsel


Hide last authors
jdr 3.1 1 {{figure image="state_change_en.png" clear ="h1"}}
2 Configuration interface for actions of type //Change state//.
jdr 2.2 3 {{/figure}}
4
jdr 3.1 5 This action allows to set the operation to a different state. For example, the status of a task controls who has access to the task. In addition, tasks in the mailbox can also be filtered based on the status.
jdr 1.3 6
jdr 3.1 7 == Parameters ==
jdr 1.3 8
jdr 3.1 9 === Settings ===
jdr 1.7 10
jdr 3.1 11 ; Transactions can be deleted in this status
12 : If this option is deactivated, it is not possible in [[Inbox>>Formcycle.Inbox]] to delete transactions which have been received in the current status.
jdr 1.6 13
jdr 3.1 14 === Form submission ===
jdr 1.6 15
jdr 3.1 16 ; Advanced settings
17 : It is possible to determine which login options are available to users who want to access transactions in this status.
18 :; Accessible by
19 :: Restrict the form call to user defined user groups. Only applies to logins via FORMCYCLE, NTLM and Kerberos.
20 :; Form password
21 :: Here a password can be assigned, which must be entered with each call of this form.
22 :; Without login
23 :: Gives form users the option to continue without logging in.
jdr 1.4 24
jdr 3.1 25 == Action variables ==
jdr 1.7 26
jdr 3.1 27 Actions of type //Change state// provide [[Action variables>>Formcycle.UserInterface.Variables||anchor="HActionvariables"]].
jdr 1.7 28
jdr 3.1 29 === Standard action variables ===
jdr 1.7 30
jdr 3.1 31 ; [%$<action name>.SUCCESS%]
32 : Return whether action was successfully executed. Returns Boolean (true/false).
33 ; [%$<action name>.RESULT%]
34 : Return all results provided by the action in structured form.
jdr 1.7 35
jdr 3.1 36 ; [%$<action name>.ERROR_CODE%]
37 : The error code thrown in case of an error in the action. Empty if no error occurred.
38 ; [%$<action name>.ERROR_MESSAGE%]
39 : The thrown error message in the action's error case. Empty if no error occurred.
jdr 1.7 40
jdr 3.1 41 === Action specific action variables ===
jdr 1.7 42
jdr 3.1 43 ; [%$<actionname>.RESULT.changed%]
44 : Returns true if the current status of the action has changed, false otherwise.
45 ; [%$<actionname>.RESULT.newState.id%]
46 : The ID of the new state.
47 ; [%$<ActionName>.RESULT.newState.name%]
48 : The name of the new state.
49 ; [%$<ActionName>.RESULT.newState.uuid%]
50 : The UUID of the new state.
51 ; [%$<ActionName>.RESULT.oldState.id%]
52 : The ID of the previous state.
53 ; [%$<ActionName>.RESULT.oldState.name%]
54 : The name of the previous state.
55 ; [%$<ActionName>.RESULT.oldState.uuid%]
56 : The UUID of the previous state.
57 ; [%$<actionname>.ERROR.message%]
58 : Error message returned if the state could not be found.
jdr 1.7 59