In Camunda BPM designer, I couldn't find activity and for invoking a REST or SOAP based webservices. Is it only possible to invoke through wiring code? How do I pass payload to the code if it needs to be written using java code.
Regards,
Phani
A service task represents a work item in the process with a specific type. When a service task is entered, a corresponding job is created. The process instance stops here and waits until the job is complete. A job worker can subscribe to the job type, process the jobs, and complete them using one of the Zeebe clients.
Add a Service Task to the Process Use the Camunda Modeler to add a service task after the user task. To do so, select the activity shape (rectangle) and drag it onto a sequence flow (see screenshot). Name it Process Request. Change the activity type to Service Task by clicking on it and using the wrench button.
A service task is an activity within a process that uses a service. You need a BPMN diagram must be open.
Tasklist is an out-of-the-box web application that's tightly integrated with Camunda's process orchestration capabilities. Simply model a business process using the BPMN standard and deploy it to the Workflow Engine; when a user needs to work on a task, they'll see it appear in Tasklist.
You can invoke a Webservice inside a bpmn.
You can create a Task of type Service, and choose in Properties/Details/Implementation: Connector.
Next you configure Connector properties, setting:
Connector Id: http-connector (for rest json webservices) and Input Parameters:
You receive the webservice response as Process Variables, configuring the Output parameters as follows :
Hope this helps you
For start: please note that camundas claim is "developer friendly". It's never been the goal of camunda components to just "click together" a working process. If you are looking for such a solution, you should a) have a look at the zero coding myth and b) maybe choose another tool.
That being said, check out the camunda-connect framework, introduced with 7.2, it should do what you need (though it involves xml coding).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With