I created a custom button on the activiti-transitions.ftl for a workflow task and I call an applet with this button. When I press the button, a document is updated. (this is what i already done). Now I want to do: When the document is updated, I want to put "task done" and redirect the page (something like accept button make).