Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Update/Remove Validation-NodeType relationships in bulk

I have a need to retire a validation that is associated with over 20 node types in DRM 11.1.2.4.311.
It appears that I can only do this one node type at a time. As you can imagine this is an onerous manual task. I do not see anything in the API that will allow me to do this either.
Has anyone done this before?
Answers
-
Hi AmaA,
I just wrote a post about just the opposite of what you're trying to do, instead of bulk remove, I was trying to bulk add validation: Documentation Update Required - Action Script Parameters - AssignHierValidations & AssignVersionValidations
You can try to write an action script and selectively choose what validation you want included for each hierarchy validation. The problem with that is that it will remove all other assigned validation other than the ones you choose in the action script to include.
Cheers,Derek
-
Thanks Derek. Unfortunately, this doesn't help me in my current struggle but is a useful tip overall.
-
Are you sure that using an action script to set a validation removes other validation settings? Since the action script sets validations one line at a time, it doesn't make sense that it would remove others. If that was true, wouldn't the last line be the only one set after running the script?
I use actions scripts for validations all the time. Here's the format:
UpdateHierPropValue [Version] [Hierarchy] Val.[Validation Name] [Batch/RealTime/Both/None] To turn validations off just set them to None.
-
Derek H, I just saw your other post about documentation. It looks like I'm using a different action script method than you are, which would explain why we're getting different results.