cancel
Showing results for 
Search instead for 
Did you mean: 

CPI xpath not working for xml prefixes

i_elsayed
Explorer
0 Kudos

I'm trying to use generateNextPersonID in the CPI to get the next person's ID .

i_elsayed_1-1716291654624.png

1- response :

<?xml version="1.0" encoding="utf-8" standalone="yes"?><d:GenerateNextPersonIDResponse m:type="SFOData.GenerateNextPersonIDResponse" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><d:personID>4405</d:personID></d:GenerateNextPersonIDResponse>

2- I defined 2 namespace in the runtime configuration

i_elsayed_2-1716291724744.png

 

3- I defined content modifier step to get the personID value but  it's blank

i tried the below xpaths

xpath : /d:GenerateNextPersonIDResponse/d:personID

XPath: //d:personID

i_elsayed_3-1716291853242.png

result :

i_elsayed_4-1716291966550.png

 

 

 

 

 

 

Accepted Solutions (0)

Answers (0)