Adding Workflow Elements
The WorkflowElements are located in the app/Workflow/Elements/<WorkflowType> folder. They are sorted by the Workflow types.
Actions:
This Workflow type interacts with external components like the database or the client.
Api:
To get data from a external api.
Event:
Just the Events.
Flow:
Workflow elements used to manipulate the flow of the workflow.
Operator:
These elements manipulate the data passed in.
Query:
To get data from the database by building querys.
Source:
Everything to work with resources.
Example element:
To finally use the new Element add it to the getInlineMorphTypes()
in the app\Workflow\WorkflowElement
.