Hello,
I want to change the status of a workflow to 'Approve' with API .
Do you know how can i achieve this ?
I start create a process using the user admin and insert assign group that contains the user 'site_collaborator'.
Then i connected with the user 'site_collaborator ' and tried to approve the task using this endpoint :
http://*********/alfresco/api/-default-/public/workflow/versions/1/tasks/9229?select=state with request :
{
state : resolved
}
And finally i want with the user "admin " to change and close the workflow using this :
{
status : completed
}
But when i logged in the Share , i saw that the status of the process was Rejected .
I think that when i tried to approve the process with user 'site_collaorator ' , the task did not change the status.
Regards,
Christos
I would suggest raising a support ticket.
HTH
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.