Is there a way to convert an XMLTYPE datatype in Oracle to text in Appian?

Hi all,
Is there a way to convert an XMLTYPE datatype in Oracle to text in Appian?

Any inputs are highly appreciated!!!!!!

OriginalPostID-180647

OriginalPostID-180647

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Lead Developer
    Hi Phani,
    You can create a view in oracle DB where you can convert xml column values using getStringVal() function and then query that view in Appian and map values to Appian object using torecord() function.
    I am not sure but you MAY directly use getStringVal() in query database smart service and map it to a text output. But as mentioned by Rob - keep an eye on your text column in Appian which will hold the converted value.
Reply
  • +1
    Certified Lead Developer
    Hi Phani,
    You can create a view in oracle DB where you can convert xml column values using getStringVal() function and then query that view in Appian and map values to Appian object using torecord() function.
    I am not sure but you MAY directly use getStringVal() in query database smart service and map it to a text output. But as mentioned by Rob - keep an eye on your text column in Appian which will hold the converted value.
Children
No Data