Hi,
I have tried to find examples that describe how to call an external REST service from an automated task in Activiti that is embedded in Alfresco 4.1.
Here is the use case:
1) Start an Activiti workflow
2) collect metadata from several user tasks and store in the workflow instance
3) invoke and a web service that has an endpoint on a non-Alfresco server to do some work (passing the metadata collected from the user tasks)
4) branch the workflow based on success or failure of the external service call
5) If success end the workflow, if failure route to a user to inform them of the service failure
Any help would be greatly appreciated