cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Workato Tips and Tricks

shivakumara
Executive Chef I
Executive Chef I

๐Ÿ”ง Workato Tip of the Day: Avoid XML Pitfalls with Reserved Keywords!

Did you know? In Workato, using <command> in an XML message template might show a red mark at the bottom. ๐Ÿšฉ This happens because command may be reserved keyword in Workato. ( image attached  #image_1: Before fixing the issue and ##Image_: After fixing the issue)

๐Ÿ› ๏ธ Quick Fix:
Add a prefix or suffix, like <commands> or <name_command>, to avoid red mark.
โœ… Making this small tweak ensures smoother workflows and error-free integrations.

Stay ahead with these handy tips! ๐Ÿ’กโœจ

This simple adjustment can make your XML integrations error-free and reliable. Keep this in mind for your next project! ๐ŸŒŸ

before.jpgAfter.jpg

1 ACCEPTED SOLUTION

Hi @Prudvi,
Workato XML Processing Logic vs JSON Processing Logic:

XML: Workato's XML engine may enforce stricter validation rules or reserve certain tags for internal use due to XML's hierarchical structure and metadata handling. Tags like `command` could trigger errors during parsing if they conflict with system-defined keywords.

JSON: Workato treats JSON as a more flexible data structure and doesnโ€™t enforce strict naming rules, allowing keys like command without issues.

This is my understanding on the JSON and XML parsing logic. Hope I have answered your question.

View solution in original post

5 REPLIES 5

Hi Shiva,
Thanks once again, now it clarifies my understand of these components.
Regards,
Siddhartha