Skip to main content

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?

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_GetRunningWorkflowTasksForListItem.htm%3FTocPath%3DNintex%2520Software%2520Development%2520Kit%7CNintex%2520Workflow%25202013%2520Software%2520Development%2520Kit%7CNintex%2520Workflow%25202013%2520SDK%2520Reference%7CWeb%2520Service%2520Reference%7CService%2520operations%7C_____21

created in the list using SPServices and camel query?

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


Reply