Bonjour,
Je cherche un moyen de récupérer l'id d'une instance du workflow.
J'ai cherché un peu sur les forums et sur le net mais pour l'instant je ne trouve rien de probant.
D'avance merci
Depuis une tache wf vous pouvez récupérer l'id de l'instance :
var workflowId = task.path.instance.id
O.
Merci pour votre réponse.
J'ai trouvé ce code qui fonctionne également :
var workflowID = execution.getProcessInstance().getId()
Discussions about Alfresco Content Services and Alfresco Process Services in French
Related:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.