03-18-2021 07:45 AM
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
04-01-2021 06:49 AM
I would suggest raising a support ticket.
HTH
Explore our Alfresco products with the links below. Use labels to filter content by product module.