cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

large check mark 0 Votes SPService to Find the workflow tasks related to a list item?

Hi,

       I have a List in which a workflow starts on creation of items. The workflow contains so many Assign Tasks(Nintex workflow task). I need to get the last task created on a particular item created in the list. How to get the workflow tasks related to an item 

created in the list using SPServices and camel query?

Tags (1)
0 Kudos
Reply
1 Reply
Workflow Hero

Re: large check mark 0 Votes SPService to Find the workflow tasks related to a list item?

I need to get the last task created on a particular item created in the list. 

one option might be to navigate to respective workflow task list and search there (or query with a CAML)  for the most recent task for a given item. the item the task relates to can be found in 'Related Content' field.

the other option might be to make a call to Workflow.asmx web service and its operation GetRunningWorkflowTasksForListItem

https://help.nintex.com/en-US/sdks/sdk2013/#Reference/SOAP/NW_REF_SOAP_GetRunningWorkflowTasksForLis...

created in the list using SPServices and camel query?

how did you create it? doesn't it directly return ID of created task?

0 Kudos
Accept as Solution Reply