How to set the workflow to send a string back to caller?

cancel
Showing results for 
Search instead for 
Did you mean: 
ntj
Member II

How to set the workflow to send a string back to caller?

Hello all,

I have created a workflow using Alfresco.

I have written a piece of Java code which starts a process using the REST API:

               "http://localhost:8080/activiti-app/api/enterprise/process-instances".

Starting a process is success, however I want the Alfresco sends a notification, string, ... to my Java application (which has started this process) when the process is completed.

Is this possible with Alfresco? 

I really appreciate if you help me on this. 

Thanks

 

Narjes

1 Reply
cjose
Senior Member II

Re: How to set the workflow to send a string back to caller?

It is possible, the easiest option would be to attach an execution listener on the end event and write the notification logic in the end event. Hope this is what you are looking for...