Create a Process Endpoint
You can use process endpoints to trigger processes.
To begin the process, you must select a generic event handler using the Java class ` de.uplanet.lucy.server.workflow.eventhandler.UserWorkflowEventHandler `. Otherwise, the process can include the usual conditions and actions.
You should first create the process and then the process endpoint, because when creating the process endpoint, you must select the corresponding process and event handler.
You can also pass parameters to the process using the process endpoint. You should therefore be aware of the parameters that the process expects or is supposed to receive when creating the process endpoint.
Methods
Please note that specifying the method for process endpoints is for informational purposes only. So, for example, if you use POST, you should do so when the triggered process writes a record or, more generally, "generates" something. Or use GET if the process is supposed to return a value.
For process endpoints, specifying the method has no effect. It is intended (solely) to help API users or consumers gain a good understanding of the API endpoint.
The following methods are available for the process API endpoints:
-
GET
-
POST
-
PUT
-
PATCH
-
DELETE
Overview of the Following Sections
In the next section, you'll first find instructions on how to create a process that can then be triggered using a process endpoint.
Below you will find instructions for creating a process endpoint using the POST method.