Robotask 任务导入 XML

Robotask task import XML

我正在尝试将 excel 电子表格转换为合适的变量 XML 文件。

Sample schema

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

我已经从 RoboTask 中导出了一个示例并将其用作 XML 地图(附上图片)

即最终导入将用于 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>

我已经为文件夹级别添加了名称字段和 ID,但仍然无法导出。

谁可以提供模板。

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

在这里看这个例子:https://robotask.com/forum/viewtopic.php?p=8977#p8977 它会创建您想要的 XML。 将任务的文本保存到一个文件中,然后使用菜单任务->导入将任务导入到 RoboTask 中。 您也可以简单地复制任务文本并将其粘贴到任务列表中。