Wiki source code of Statuswechsel


Show last authors
1 {{figure image="state_change_en.png" clear ="h1"}}
2 Configuration interface for actions of type //Change state//.
3 {{/figure}}
4
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.
6
7 == Parameters ==
8
9 === Settings ===
10
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.
13
14 === Form submission ===
15
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.
24
25 == Action variables ==
26
27 Actions of type //Change state// provide [[Action variables>>Formcycle.UserInterface.Variables||anchor="HActionvariables"]].
28
29 === Standard action variables ===
30
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.
35
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.
40
41 === Action specific action variables ===
42
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.