Show last authors
1 {{content/}}
2
3 Actions provide certain services or functions such as sending mails or writing an entry to a data base. They can be created by clicking the "New action" button {{icon name="plus"/}} inside a state.
4
5 {{lightbox image="workflow_new_action_en.png" title="Adding an action to the state"/}}
6
7 Every action consists at least of a:
8
9 * **Name**: The name has to be unique.
10 * **Description**: The description is optional.
11
12 Generally speaking, there are two differents kinds of actions.
13
14 == File providing actions ==
15
16 These actions create files or make files on the file system available so that they can be used by other actions requiring a file, such as sending a mail with an attachment. The following providing actions exist:
17
18 * [[Compress files>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.CompressFiles]]
19 * [[Export (Persistence)>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.ExportPersistence]]
20 * [[Export (XML)>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.ExportXML]]
21 * [[Resource>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.Resource]]
22 * [[PDF (Fill)>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.PDFFill.WebHome]]
23 * [[Word (Fill)>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.WordFill.WebHome]]
24 * [[Write text file>>doc:WriteTextFile]]
25
26 == Processing actions ==
27
28 These actions either process files provided by file providing actions or provide other services such as redirecting the user to another URL.
29
30 The following processing actions are available:
31
32 * [[Change form values>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.ChangeFormValues]]
33 * [[Change state>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.ChangeState]]
34 * [[Compress files>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.CompressFiles]]
35 * [[Copy form record to inbox>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.CopyFormRecordToInbox]]
36 * [[Create new process ID>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.CreateNewProcessID]]
37 * [[Delete form record>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.DeleteFormRecord]]
38 * [[Duplicate form record and set state>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.DuplicateFormRecord]]
39 * [[Email>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.EMail]]
40 * [[File download>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.FileDownload]]
41 * [[Import form values from XML>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.ImportXML]]
42 * [[Move form record to inbox>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.MoveFormRecordToInbox]]
43 * [[POST request>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.POSTRequest]]
44 * [[Redirect>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.Redirect]]
45 * [[Response page>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.ResponsePage]]
46 * [[Save to file system>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.SaveInFileSystem]]
47 * [[SQL statement>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.SQLStatement]]
48 * [[Stop workflow processing>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.StopWorkflow]]
49
50 == Plugin action ==
51
52 New actions can be added through plugins. These actions may be providing or processing actions. Documentation for these actions can be found inside the [[documentation for the plugins>>doc:Formcycle.PluginDocumentation.WebHome]] that provides them.
53
54 == Deprecated ==
55
56 Deprecated actions only exist for backwards compatibility. Please avoid using deprecated actions.
57
58 * [[Provide uploaded file>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.DeprecatedProvideUpload]]
59 * [[Attach file to form record>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.DeprecatedAttachFile ]]
Copyright 2000-2024