Wiki source code of Vorgang kopieren


Show last authors
1 {{figure image="copy_form_record_en.png"}}
2 Configuration interface of the action //Copy form record//.
3 {{/figure}}
4
5 The action //Copy form record// allows to copy the current form record to another inbox. This can be used, for example, to inform another person with access to the inbox about this form record. In addition, an existing user-defined event can be selected, which will be triggered after copying.
6
7 == Parameter ==
8
9 ; Make user information anonymous
10 : Anonymizes user information when duplicating, otherwise this information is transferred.
11 ; Event
12 : Runs this event on the copeid form record.
13 ; Target inbox
14 : Moves the copied form record this inbox.
15
16 == Action variables ==
17
18 Actions of type //Copy form record// provide action variables which can be used in subsequent actions.
19
20 === Standard action variables ===
21
22 ; [%$<Actionsname>.SUCCESS%]
23 : Whether the action could be processed successfully. Evaluates to a boolean, ie. true or false.
24 ; [%$<Actionsname>.RESULT%]
25 : Return all results provided by the action as JSON.
26
27 ; [%$<Actionsname>.ERROR_CODE%]
28 : In case of error the thrown error code of the action. Empty if no error has occurred.
29 ; [%$<Actionsname>.ERROR_MESSAGE%]
30 : In case of error the thrown error message of the action. Empty if no error has occurred.
31
32 === Action specific action variables ===
33
34 ; [%$<Actionsname>.RESULT.copiedFormRecord.id%]
35 : The ID of the newly copied form record
36 ; [%$<Actionsname>.RESULT.copiedFormRecord.processId%]
37 : The process ID of the newly copied form record
38 ; [%$<Actionsname>.RESULT.formRecordDeleted%]
39 : true when the newly copied form record was deleted during the workflow initiated by the specified event, false otherwise.
40 ; [%$<Actionsname>.RESULT.inboxChanged%]
41 : true when the inbox was changed by this action, false otherwise.
42 ; [%$<Actionsname>.RESULT.newInbox.id%]
43 : The ID of the inbox of the newly copied form record.
44 ; [%$<Actionsname>.RESULT.newInbox.name%]
45 : The name of the inbox of the newly copied form record.
46 ; [%$<Actionsname>.RESULT.newInbox.uuid%]
47 : The UUID of the inbox of the newly copied form record.
48 ; [%$<Actionsname>.RESULT.oldInbox.id%]
49 : The ID of the inbox of the original form record.
50 ; [%$<Actionsname>.RESULT.oldInbox.name%]
51 : The name of the inbox of the original form record.
52 ; [%$<Actionsname>.RESULT.oldInbox.uuid%]
53 : The UUID of the inbox of the original form record.
54 ; [%$<Actionsname>.RESULT.sourceFormRecord.id%]
55 : The ID of the original form record
56 ; [%$<Actionsname>.RESULT.sourceFormRecord.processId%]
57 : The process ID of the original form record
58
59 ; [%$<Actionsname>.ERROR.message%]
60 : Message describing the error in more detail
61 ; [%$<Actionsname>.ERROR.nodeErrorData%]
62 : When the workflow failed due to an error thrown by an action: The custom data provided by that error.
63 ; [%$<Actionsname>.ERROR.nodeErrorType%]
64 : When the workflow failed due to an error thrown by an action: The type of that error.
65 ; [%$<Actionsname>.ERROR.nodeMessage%]
66 : When the workflow failed due to an error thrown by an action: The message of that error.