cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Community Edition - Task to Invoke REST API

bsawin
Champ in-the-making
Champ in-the-making

I'm trying to design a simple workflow. A user task to collect some data. Then a system task to invoke a REST API with the data collected in the first task. I see Alfresco has a REST task. What is the cleanest way to have a task invoke a REST API using Activiti 6 Community Edition? I'd love to do this through native configuration of the business process running a standalone Activiti engine if possible.

3 REPLIES 3

abbask01
Star Collaborator
Star Collaborator

create a service task and call your java impl that calls your rest API and stores info in variables

Regards,
Abbas

can you share some example or if you have some repository link

Also please help me how to construct xml payload in script task 

Thanks

Shreyank