Import from XML

How is one suppose to point to the XML file which you want to upload? Im my microflow, before the Import to XML activity, I create an instance of XMLDocument and subsequently set the path. All runs without errors but nothing gets uploaded. (The scema and mapping have been set up.)
1 answers

The XMLDocument is deprecated, we advise people to use the filedocument and upload the xml manually instead.

Have you turned on schema validation in the mapping? And are you sure the xml is valid for the xsd schema you're using?