XML as Input document and XML as Output Document

Hi All,

I have a scenario like the input is an XML document

where the data present in it has to be changed using some logics and the output is to be stored as an XML document

Can someone tell me is that possible in Appian.

If so, Could you please let me know how to do it.

TIA :)

 

  Discussion posts and replies are publicly visible

Parents Reply
  • Thanks carlos for the response but when I am trying to for the simple example which is given in functions doc.

    I am trying like

    torecord(ri!xmldata,ri!data). I create a CDT with personName and I am passing that as type to ri!data so

    ri!xmldata is a Text
    ri!data is of type PersonName

    to the text field I am passing

    <PersonName xmlns="www.bpmbasics.com/Person">
    <First>Edward</First>
    <Last>Denton</Last>
    </PersonName>

    when I tried executing it I am getting this error

    Expression evaluation error at function 'torecord': Error evaluating function 'torecord' : Cannot convert the XML byte[] [B@1b5c7e37 to an internal value of type PersonName (id=906).

    Can you please help me what is to be done.
Children