Transfer All Tasks using REST

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2013 05:01 AM
Hi
How can i Transfer All tasks from (User A) to (User B) using REST
also how can i make delegation from (user A) to (user B) for future task using REST also
thanks
How can i Transfer All tasks from (User A) to (User B) using REST
also how can i make delegation from (user A) to (user B) for future task using REST also
thanks
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2013 02:01 AM
??
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2013 04:42 AM
Check the section on tasks in the userguide: http://activiti.org/userguide/index.html#N14412
You can pass a claim/delegate action in the json body.
You can pass a claim/delegate action in the json body.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2014 07:18 AM
thanks for your reply but i ask about some thing like "Out of Office"
for example :suppose there is one user in vacation and we want to transfer any new task directly from his inbox to acting user inbox
for example :suppose there is one user in vacation and we want to transfer any new task directly from his inbox to acting user inbox
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2014 04:51 AM
There is nothing built in for this right now. You can, as Joram pointed out, query all tasks assigned to user X and call a "delegate" action on the task. When delegating, the original assignee (the user that is on vacation) is retained in the owner-field of the task. Later on, you can resolve all delegate tasks again.
If you want a generic solution, not depending on N+1 rest calls, you can create a custom rest-resource in the Acitivit-rest project and do this logic in a single rest-resource.
If you want a generic solution, not depending on N+1 rest calls, you can create a custom rest-resource in the Acitivit-rest project and do this logic in a single rest-resource.
