Destination User Details

  • 7 April 2005
  • 1 reply
  • 0 views

Badge +8
Try using the data manipulation event. Alternatively, the following code snippet should help:
MyVal = SourceCode.K2Utilities.XMLFieldMod.GetXMLValue(K2.ProcessInstance.XmlFields("K2InfoPathSchema").Value, "my:myFields/my:_K2/my:DestinationUser")


This was generated using the event.

1 reply

Badge
Greetings all

I'm new to K2, so forgive me if this is a silly question!

I want to personalise the mail alert sent to an event's destination users with their name etc. I've tried using the "K2.ProcessInstance.XmlFields("K2InfoPathSchema/my:myFields/my:_K2/my:DestinationUser").Value" and also the equivalent for the activity, but it just comes out blank.

Can anyone explain where I'm going wrong, or how to achieve this functionality, please?

Thanks very much,

Tim

Reply