<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Deletion Policy</title><link>https://community.appian.com/discussions/f/process/39129/deletion-policy</link><description>Hi all, 
 
 I want to automate the change of the deletion policy of a Process model (PM) when it is deployed. My idea is as follow: 
 
 Look into PMs there were deployed. 
 Change the data retention to delete after 1 or 0 day 
 have a list of exceptions</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Deletion Policy</title><link>https://community.appian.com/thread/148280?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 14:11:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ffc3a8e4-9c67-47e6-bdce-2888b30825ac</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;You can may be design a process model that runs post deployment.&lt;/p&gt;
&lt;p&gt;In it add a UI first where administrator can add the export log from the deployment (from design-&amp;gt;deployments). Then you can configure expression fetch the process model uuids from the success objects in the log. (This last step, I don&amp;#39;t know if &lt;a href="/b/appmarket/posts/log-reader"&gt;this &lt;/a&gt;plugin can help you read the file or if&amp;nbsp;AI Skills can help here, so you can give it a try).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Lastly Process Model Utilties plugin can help you set the Cleanup settings for the uuids fetched in previous step.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deletion Policy</title><link>https://community.appian.com/thread/148268?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 11:39:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84b42fa6-7d1e-4054-8385-7769618e28b0</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;You can probably achieve this by inspecting the deployment package. You can get it via the deployment API.&lt;/p&gt;
&lt;p&gt;Once you have the zip, you can use&amp;nbsp;Zip File Utilities to extract the contents and get the process model uuids.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deletion Policy</title><link>https://community.appian.com/thread/148263?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 08:29:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fe13a290-6812-4eff-b916-84acaf94f442</guid><dc:creator>marios6581</dc:creator><description>&lt;p&gt;The solution that I implemented in the past was:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a PM for the post deployment feature&lt;/li&gt;
&lt;li&gt;this PM would look into the package that was deployed, get the uuids of the PMs present on the package.&lt;/li&gt;
&lt;li&gt;if the PM were on a list of exception, it would not update&lt;/li&gt;
&lt;li&gt;Else updates the data retention policy.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The plugins used were:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;&lt;i&gt;Application Information Retriever&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&lt;span&gt;&lt;i&gt;Application Plugins&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&lt;span&gt;&lt;i&gt;Process Model Utilities&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deletion Policy</title><link>https://community.appian.com/thread/148262?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 08:23:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:18ce86a4-b200-4bd8-bdbb-ad1a0f42b444</guid><dc:creator>marios6581</dc:creator><description>&lt;p&gt;I dont have the exact number it is evoked +1800 times per day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deletion Policy</title><link>https://community.appian.com/thread/148228?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 15:05:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6677fa3-2461-4cad-ae8a-3c633e12599a</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;May be if you add more details about use case it will enable us to help better like policy of 1 process model are intended to be updated or multiple process models. If its just one then What do you mean&amp;nbsp;with the sentence -&amp;nbsp;&lt;/p&gt;
[quote userid="250977" url="~/discussions/f/process/39129/deletion-policy"]To run this new PM for each new deploy[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="250977" url="~/discussions/f/process/39129/deletion-policy"]have a list of exceptions to not be updated when these are deployed.[/quote]
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deletion Policy</title><link>https://community.appian.com/thread/148227?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 15:05:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:db8677a4-ce08-4cfa-807a-598d65374f2d</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;To extract the UUIDs, you can create a process report which can list all the process models AND their instances. From process report you will be able to extract Process model metadata.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;AFAIK there is no plugin or smart service that can change the data management policy of any inflights or help you automate this. So changing the policy automatically is impossible.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deletion Policy</title><link>https://community.appian.com/thread/148218?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 10:54:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53448e9a-072a-440d-908e-bb6dee1e84f0</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Makes sense.&lt;/p&gt;
&lt;p&gt;You wrote &amp;quot;&lt;span&gt;PM that is called multiple times per day&amp;quot;. How high is that number?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then, did you consider to add a timer node just before the ende node? This way you could keep the model alive for a while for monitoring, but skip that timer on PROD.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deletion Policy</title><link>https://community.appian.com/thread/148217?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 10:34:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bfca346f-710e-4109-be80-336305739d31</guid><dc:creator>marios6581</dc:creator><description>&lt;p&gt;We want to have different policies between lower and prod environments. This way we can check the PMs on monitoring in lower to see the execution&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deletion Policy</title><link>https://community.appian.com/thread/148214?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 10:18:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ef534550-4fcf-4a3f-aecf-f7ce0ab6e1f4</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;OK, but why not just set the policy to zero days directly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deletion Policy</title><link>https://community.appian.com/thread/148212?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 09:09:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dd394ac5-8f12-4d7a-a540-e6d692c71358</guid><dc:creator>marios6581</dc:creator><description>&lt;p&gt;&lt;span&gt;How Can I extract the UUID of the deployed PMs and then change their policy?&lt;br /&gt;&lt;br /&gt; And we need this because I have a web API that triggers a PM that is called multiple times per day, consuming some resources. Want to reduce the impact.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Deletion Policy</title><link>https://community.appian.com/thread/148209?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 08:40:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b03088e5-643e-494a-b08f-ad147bae717e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What is your specific question? And my question is, why do you need separate data management policies on different environments?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>