How to get XML data programatically

  • 30 November 2011
  • 1 reply
  • 0 views

Badge +5

Hi,


I have created simple workflow which is having Sharepoint workflow integration wizard to integrate sharepoint library.


By using this wizard i have mapped shapoint meta data to process filed.


Now I want to get this XML field data "ID"(refer attached screenshot) programatically.


I have written below code but it is not working..i dont know whether it is correct or not.


K2.ProcessInstance.XmlFields["ID"].Value.ToString();  


Can anyone help me to get this XML filed data 'ID' programatically?


Regards,


Saya


 


12675iA7C0463EC0817D29.jpg

1 reply

Badge +10

Hi Saya


Assuming that the Data Event wizard doesn't meet your requirements here is a post that will help you out as it gives a programatic example.  Look at the verified answer for a code sample.  http://www.k2underground.com/forums/p/11433/33663.aspx


 

Reply