<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Rules for objects]]></title><description><![CDATA[<p dir="auto">Hello,<br />
is there possibility to define rules for object manipulation?</p>
<p dir="auto">e.g.:</p>
<p dir="auto">I have Object type Server, I will archive that object or switch its status to e.g.: Stored/Retired...<br />
but I need rule, that object can't transit to that state if there are Host adddresses in Normal state.</p>
<p dir="auto">I need at first Archive Host addresses and then swith object to another state.</p>
]]></description><link>https://community.i-doit.com/topic/5212/rules-for-objects</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 05:51:52 GMT</lastBuildDate><atom:link href="https://community.i-doit.com/topic/5212.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Nov 2024 10:02:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Rules for objects on Tue, 10 Dec 2024 13:18:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/milan-leszkow" aria-label="Profile: Milan-Leszkow">@<bdi>Milan-Leszkow</bdi></a><br />
Hello,<br />
sadly there is no function in i-doit that covers the use-case that you described.</p>
<p dir="auto">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.<br />
You can find more information about the Flows add-on here:<br />
<a href="https://kb.i-doit.com/en/i-doit-add-ons/flows.html">https://kb.i-doit.com/en/i-doit-add-ons/flows.html</a></p>
<p dir="auto">A 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.<br />
You can find more information about the API methods here:<br />
<a href="https://kb.i-doit.com/en/i-doit-add-ons/api/methods/cmdb.category.html#cmdbcategoryarchive">https://kb.i-doit.com/en/i-doit-add-ons/api/methods/cmdb.category.html#cmdbcategoryarchive</a></p>
<p dir="auto"><a href="https://kb.i-doit.com/en/i-doit-add-ons/api/methods/cmdb.object.html#cmdbobjectarchive">https://kb.i-doit.com/en/i-doit-add-ons/api/methods/cmdb.object.html#cmdbobjectarchive</a></p>
<p dir="auto">Best regards</p>
]]></description><link>https://community.i-doit.com/post/18390</link><guid isPermaLink="true">https://community.i-doit.com/post/18390</guid><dc:creator><![CDATA[Luis Jürgenliemke]]></dc:creator><pubDate>Tue, 10 Dec 2024 13:18:51 GMT</pubDate></item></channel></rss>