Hello Guys,

I 'm trying to use the "addOnProcessStatusChange" Javascript function to get the Business Process Flow status ("finished") and update the current entity.

It works, but the JavaScript function triggered two times when I finish the Business Process Flow (on the "Finished" click).

Below the function I execute, I refer to an update and my plugin is also trigerred twice :

Can you please advise if you have faced this and what could be the possible reasons and how to solve it?
Thank you for your time,