Skip to main content
Cadet | Tier 2
March 12, 2025
Solved

XML update node not saving changes to XML file

  • March 12, 2025
  • 3 replies
  • 129 views

Hi team,

I am trying to update an XML node in a control room XML file:

<bot>
  <name></name> 
  <memo></memo> 
</bot>

I see the changes while the bot is running but none are saved to the actual XML file once the bot has completed its tasks.

Here is my script

 

    Best answer by RG 3078

    I did find what is missing in my script to save the changes regarding desktop files:

    Update alone does not save the changes. Save session data is required.

    3 replies

    Navigator | Tier 3
    March 12, 2025

    Control room files get downloaded to temp directory and any read/write operations happen on the local copy, not actual control room.

    https://github.com/A360-Tools | https://botstore.automationanywhere.com/vendor/botdev
    RG 3078Author
    Cadet | Tier 2
    March 12, 2025

    Same thing is happening on a desktop file as well. Nothing gets saved.

    RG 3078AuthorAnswer
    Cadet | Tier 2
    March 12, 2025

    I did find what is missing in my script to save the changes regarding desktop files:

    Update alone does not save the changes. Save session data is required.