Rules for objects
-
Hello,
is there possibility to define rules for object manipulation?e.g.:
I have Object type Server, I will archive that object or switch its status to e.g.: Stored/Retired...
but I need rule, that object can't transit to that state if there are Host adddresses in Normal state.I need at first Archive Host addresses and then swith object to another state.
-
@Milan-Leszkow
Hello,
sadly there is no function in i-doit that covers the use-case that you described.It could be possible to create a flow with the new Flows add-on that triggers when you archive a server and than archives the host address afterwards.
You can find more information about the Flows add-on here:
https://kb.i-doit.com/en/i-doit-add-ons/flows.htmlA different option would be the API. With some programming knowledge you could create a script that uses the cmdb.category.archive method to archive the host addresses and afterwards the server with the cmdb.object.archive method.
You can find more information about the API methods here:
https://kb.i-doit.com/en/i-doit-add-ons/api/methods/cmdb.category.html#cmdbcategoryarchivehttps://kb.i-doit.com/en/i-doit-add-ons/api/methods/cmdb.object.html#cmdbobjectarchive
Best regards
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login