Get Sharepoint List item ID value

  • 18 August 2015
  • 1 reply
  • 18 views

Badge +8

Hi all

 

I've read many different posts about how to achieve this but still cant find a definative way to get it to work.

 

I have a simple Sharepoint list which triggers a workflow when an Item is added.

 

I would like to cpature the Sharepoint List item ID into a data field in my process

In K2 Studio I've tried to use XML value Event detailsitem and SPeventsfield ItemID and none of these return the ID number

 

Any suggestions or tips please?

 

Paul


1 reply

Badge +9

My suggestion would be to create a SmartObject using the list and the "Update K2 SmartObject Service definition" option on the Site Actions menu. The GetList method would return the ID among the data. If you were to filter this down, you should be able to pull out just the ID.


 


Ian

Reply