AnsweredAssumed Answered

Get Task Instances of Site Invitations only

Question asked by anshu.kumar on Jun 24, 2015
Latest reply on Jul 1, 2015 by anshu.kumar
Hello Everybody

I have a very particular requirement for one of my clients. For a particular functionality, I need to get all task instances of Site invitations only for a particular user. how can I achieve this?

I checked OOTB my-tasks dashlet and it makes a ajax call to /api/task-instances web script (Java Back-end) on repository side.
There is another REST URI /api/workflow-instances/{workflow_instance_id}/task-instances. But this gives result for particular workflow instance only.

Therefore, I think I will have to probably write my own web-script. Is there any way we can get Site Invitation Tasks only for current user??
Is there any workflow definition parameter which we can append in task query or in any way??


Thanks in Advance!!

Outcomes