Expand my Community achievements bar.

How to extract and parse value of XML Memo field from XTKWORKFLOW table in Adobe Campaign Classic

Avatar

Level 4

Hi All,

Please help

 

How Can we extract and parse value of XML Memo field from XTKWORKFLOW table in Adobe Campaign Classic

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Employee Advisor

Hi Shruti,

 

Check out the forum thread below. It's a good example of how to extract individual values from the XML memo field.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/exporting-xml-fields/m-p/30...

 

Regards,

Craig

Avatar

Community Advisor

Hello @Shruti1,

 

(Sorry for the print screen in French.)

 

You need to use the 'NodeValue' function.

For example, if you want to extract the value of 'taskCount', which is an XML attribute of xtk:workflow (so its value is stored in the mData of wtkworkflow), you can do it like this:

  • Query the workflows you want using a query activity.

Amine_Abedour_0-1727279159531.png

  • In the same query or in an enrichment, choose to enrich your data.

Amine_Abedour_1-1727279340749.png

  • Use the function like this: NodeValue('/workflow/@taskCount', data)
    Amine_Abedour_2-1727279416381.png

     

  • Result:

Amine_Abedour_3-1727279506231.png

Br,

Avatar

Level 4

hello @Amine_Abedour 

thanks for your reply

 

NodeValue('/workflow/@taskCount', data)

but m receiving missing right parenthesis error in audit logs are using this

 

 

please suggest next steps

Avatar

Level 4

hello @Amine_Abedour 

thanks for your reply

 

NodeValue('/workflow/@taskCount', data)

but m receiving missing right parenthesis error in audit logs are using this

 

 

please suggest next steps