cancel
Showing results for 
Search instead for 
Did you mean: 

Change Status in Workflow from Api

Chris_Kolofotis
Champ in-the-making
Champ in-the-making

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

1 REPLY 1

EddieMay
World-Class Innovator
World-Class Innovator

Hi @Chris_Kolofotis 

I would suggest raising a support ticket.

HTH

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!