Written by

Question Joao Palma · Sep 6, 2018

BPL XPATH use

Hi

I'm trying to get a text value of a xml node of a XML Document through the xpath activity within a BPL diagram.

I set the source to Request and all the other properties.

The error I always get back is Method does not exist...

Could anyone help me out?

Kind Regards

-----

Source

Source data

Property

Destination for result

Context

Document context

Expression
 

Comments

Marc Mundt · Sep 13, 2018

The "Context" and "Expression" should be wrapped in quotation marks.

0
Marc Mundt  Oct 24, 2018 to Marc Mundt

Joao, just wanted to check with you... did it work after adding quotation marks?

0
Joao Palma  Oct 24, 2018 to Marc Mundt

Sorry I did not get back to you. 

It did not work so I opted for a Code activity in the Business process and do

Set context.myvar = request.GetValueAt("/root/mynode")

0