Skip to main content
Nintex Community Menu Bar

GetXMLValue

  • November 10, 2006
  • 1 reply
  • 5 views

Forum|alt.badge.img+5
Hello,
I have a Default Client event from where I send an email.

In the email I want to add a value from a xmlfield.

My xmlfield value looks like this:
- <traceRoot>
- <traceData>
<traceComment>ok 1</traceComment>
</traceData>
- <traceData>
<traceComment>also OK here</traceComment>
</traceRoot>


I would like to add the last traceComment (also OK here). How can I do this ?

I I use

Dim strComment As String
strComment = SourceCode.K2Utilities.XMLFieldMod.GetXMLValue(K2.ProcessInstance.XmlFields("trace").Value,"traceRoot/traceData/traceComment")

always the first traceComment is send.

1 reply

Forum|alt.badge.img+8
  • November 11, 2006