Hi, I'm in the need to erase a supernode from nimi_config.xml and I want to use Delete an XML attribute using XPath action
I tried the following option:
But I get the following error:
What I'm doing wrong?
How can I add new execution servers on that file?
Share the xml as well?
I think the reason you are facing a failure is because you are trying to remove element and not attribute but the action you are using is for attribute. Please use the action "Delete an XML element using XPath" and it will work.
However, you need to put in check to make sure that the node exist in case you want action to only execute if the node is present else you will get an error.
In case if you are fine with action to execute and fail/succeed you can uncheck "Pause on failure" in action setting.
Hi Saurabh: Thanks for your help! The action worked as expected, however I cant add the new value:
To add a new value use the respective different action (from available RA actions), for example in case if you need to add an element, you can use Insert an XML element using Xpath, with below configuration.
Let me know if it helps!