Completing review task with REST api

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2015 02:27 AM
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2015 04:44 AM
One way of doing it is using the following way.You should be able to complete the workflow task.
URL: http://serverort/alfresco/service/api/task/activiti%1234/formprocessor
(Note : Give the task id in the url after /task as shown above)
Type : POST request
Note : use the appropriate property name which holds the outcome of the workflow task in the following example request JSON. You can additionally set the other properties as well.
JSON Request body:
{
"prop_wf_ReviewOutcome":"Approve",
"prop_bpm_comment":"good",
"prop_transitions":"Next"
}
Thanks & Regards,
Ramesh Chauhan
My book contribution on Alfresco - Learning Alfresco Web Scripts
My blog - http://alfresco-for-developers.blogspot.in

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2016 02:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2016 12:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2017 03:56 AM
Use 'prop_wf_reviewOutcome' instead of 'prop_wf_ReviewOutcome'.
e.g.
