Question about converting text

Question about converting text

Comments

  • hi i was curious if there was a step or a series of steps that could be used to convert xml input into an xml data type that can be used in decisions?

    i already have my own xml type that i created but i want to convert xml without having to make a new one.

    thank you
    [i]edited by frankgrimes on 5/10/2022[/i]

  • Unknown
    edited November 2023

    Hey Frank,

    There actually is something that would help you out in this scenario.

    Specifically the [b]Deserialize XML [/b]step (found under [b]Toolbox > DATA > XML[/b]) can be used. This step provides the [b]XML Type[/b] dropdown which lets you select which XML Type you want to map the String input (via [b]String to Deserialize[/b]) to.

    After you select the desired [b]XML Type[/b], simply provide [b]String [/b]in the proper XML format.

    Running the [b]Flow [/b]will output the expected [b]Data Type[/b] mapping.

    If you want to read a little more about our [b]XML Serialization[/b], you can check it out via our [url=https://documentation.decisions.com/v8/docs/serialization][b]Serialization [/b][/url]doc.

    Hope this helps, have a good one!

Sign In or Register to comment.