Hello,I want to change the owner of some workflows which is started by a webscript. I don't want that the user can delete the workflow.I have tried this in the webscipt :
workflow.parameters["cm:owner"] = people.getPerson("superUser");
workflow.parameters["initiator"]= people.getPerson("superUser");And this in the workflow :
<startEvent id="start" name="Start" activiti:formKey="sgfwf:submitStartFinance1a" activiti:initiator="superUser"><
But the user (who begin the workflow) can delete the workflow… How can I change the owner of the workflow ?Thank you.Alfresco 4.0d, Activiti