Invoke > Runtime tasks for processes > Invoking processes using HTTP verbs
  

Invoking processes using HTTP verbs

You can use the following HTTP verbs to invoke a process:
You can configure a single process to use different HTTP verbs and perform different CRUD operations based on the HTTP verb that is used in a request. You can use XQuery functions to determine the HTTP verb and the resource path segments that are used in a request.
For example, you want to update a CRM system with customer records. You might want to perform one or more of the following tasks:
You can configure a single process to perform all these operations as shown in the following image:
The image shows a process that uses the getRequestHTTPVerb function in the Assignment step to determine the HTTP verb that is used in the request. Based on the HTTP verb that is used, the Decision step branches out to different paths to perform different CRUD operations.
The Assignment step in the process uses the getRequestHTTPVerb function to determine the HTTP verb that is used in the request. The following image shows the getRequestHTTPVerb function under the Request Context section in the Expression Editor:
The image shows the getRequestHTTPVerb function under the Request Context section in the Expression Editor.
Based on the HTTP verb that is used, the Decision step branches out to different paths to perform different CRUD operations.
To view a video about using different HTTP verbs to invoke a process, see the following community article:
https://www.youtube.com/watch?v=bQaQ_KmBO4o