cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with upper and lowercase in XML header element

milan-matchev
Deputy Chef I
Deputy Chef I

I have a problem with the upper and lowercase in the XML header element.

I'm downloading in workato a XML like this:

<PDMRequestResponse xmlns="http://support.procad.de/schema/general/v2000-1000" TIMESTAMP="2022-08-03T01:58:46" REQUESTID="e3a61a5f-5f5b-428e-ac0c-9f2e61b6e847">
    <StatusCode>Success</StatusCode>
    <StatusMessage>My Successfully transfered Response!!!</StatusMessage>
</PDMRequestResponse>

Unfortunately, once parsed by workato the header element is changed to this "PDM request response" and it looks like this:

2.PNG

1.PNG

What are my options to keep the formatting of the received XML and make it NOT case-sensitive?

Any ideas?

Thanks!

1 ACCEPTED SOLUTION

gary1
Executive Chef II
Executive Chef II

That's just the label. If you hover over the label, you'll see the actual "API Name" which should match the original element name from the XML. You should use the API name of the data pill whenever its referenced in a Ruby formula/script.

gary1_0-1677774988281.png

 

View solution in original post

1 REPLY 1

gary1
Executive Chef II
Executive Chef II

That's just the label. If you hover over the label, you'll see the actual "API Name" which should match the original element name from the XML. You should use the API name of the data pill whenever its referenced in a Ruby formula/script.

gary1_0-1677774988281.png