'Robotask task import XML

I am trying to convert an excel spreadsheet into a suitable Variables XML file.

Sample schema

    <?xml version="1.0" encoding="UTF-8"?>
    <Root>
      <var00000059 type="FOLDER">
        <name type="STRING"></name>
        <value type="STRING"></value>
      </var00000059>
      
    </Root>

I have exported an example from RoboTask and used that as a XML map (image attached)

Excel error

I.e. final import would be for 2 vars

<?xml version="1.0" encoding="UTF-8"?>
<Root>
  <{ID} type="FOLDER">
    <name type="STRING">Variable name goes here</name>
    <value type="STRING">Variable value goes here</value>
  </{ID}>

  <{ID} type="FOLDER">
    <name type="STRING">Variable name goes here</name>
    <value type="STRING">Variable value goes here</value>
  </{ID}>
  
</Root>

I have added a name field and ID for the folder level but still can't export.

Can someone please provide a template if possible.

ty

Disclaimer: I haven't been able to get help from official support channels for the automation program robotask. So am asking for help here.


Solution 1:[1]

Look at this example here: https://robotask.com/forum/viewtopic.php?p=8977#p8977 It creates the XML you want. Save the text of the task to a file and use menu Task->Import to import the task into RoboTask. Also you can simply copy task text and paste it into the task list.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Oleg Yershov