Hi @A_B_SE,
Yes, you can use JavaScript to directly update the XML. You can query all the workflows that have a specific string in their XML, then replace it with the new value.
The process should work as follows:
-Identify all the workflows where the XML contains the target string.
-Stop the workflows
-Replace the old string with the new one in the XML.
-Save the changes and restart the workflows.
You can do the whole process with a simple JS using the xtm:workflow and make sure you develop it on a test environment, keep a backup and then move it to production.
Hope it helps! Let me know if you need more guidance.
Best,
Celia