Custom Logic

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member

Custom Logic

How can I make  a custom logic each time a workflow starts or end ?
Not only for a specific or custom process, but all types of workflow.

12 Replies
Established Member

Re: Custom Logic

Hi Riadh Azzouz‌, perhaps the use of Event Listeners would do what you are looking to accomplish.  It would be useful to know which product and version you are using exactly and possibly a little more specific detail describing your requirements.

Thanks,

Paul  

Active Member

Re: Custom Logic

Hi,

Thanks

Do you have any examples ?

Established Member

Re: Custom Logic

It would be useful to know what Product / Version you are using?

Active Member

Re: Custom Logic

Sorry, Product / version of what ?

Established Member

Re: Custom Logic

Riadh Azzouz‌ I apologize.  This forum is listed as Alfresco Process Services (APS) and Activiti.  Our Open Source product is Activiti and we have people using Activiti 5, 6 and now, our latest version, Activiti 7.  Our commercial product is Alfresco Process Services (powered by Activiti) (APS), which is based on Activiti 5.  

Thanks,

Paul

Active Member

Re: Custom Logic

I'am using Activiti 6.
Thanks.

Established Member

Re: Custom Logic

Riadh Azzouz‌ - here is the link to documentation on using Event Listeners -  https://www.activiti.org/userguide/#executionListeners

Active Member

Re: Custom Logic

Thanks.
is it possible to make these activiti:executionListener for the predefined workflows and the custom one in a programmatic way.

Established Member

Re: Custom Logic

Riadh Azzouz‌, can you please explain in more detail what you are trying to do?