Alfresco Content Services REST API (Workflow)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2019 10:44 AM
Hi,
I'm trying to update the state of a task using the REST API but not working. I haven't error message.
Any idea what's wrong in my code ?
Thanks
this.apiService.getInstance().webScript.executeWebScript(
//Paramètres de l'API
'PUT',
'tasks/' + IDTask,
'state',
null,
'api/-default-/public/workflow/versions/1',
{
"state": "resolved"
}
).then(function(response: any) {
console.log(response);
}, function(error){
console.log(error);
})
}
Labels:
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2019 12:53 AM

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2019 02:38 AM
You can only update name, dueDate and Description with taskAPI. And it's for activiti ? I only have Alfresco Content Service working with ADF. That's why I use Alfresco Content Services REST API.
