This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I developed a tool using HTML5 SDK and saved some workflows using that.
We released the new version of the tool, which has some GUI/ XML changes, but with this new version all previously saved workflows breaks. The older workflows has old XML configs, which is not valid with new engine that we have coded. Once user opens an old workflow, opens the tool and save it again, it will work as now new tool XML will be tied with this flow.
How could I automate this process, ie when a saved workflow is run, it should automatically take the new XML without the need of clicking on the tool to update the XML.
There's no way for tools currently used in existing workflows to be automatically updated with the new XML config requirements. These configs are coded into the workflows XML so in order for them to use a new one, the steps you're taking is the typical way to do so.
Another option you can try is to create a batch macro that would read in the yxmd as a none delimited, "\0", csv file to read in the XML of the workflow in it's raw state. Don't use the XML file type or it'll attempt to parse.
Afterwards, create a process to find the section of text with the old configs and replace it with the new and then output the file back out.
I have not done this before, but conceptually, should work as long as only the appropriate XML attributes are updated.