<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Find all unused Objects in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Find-all-unused-Objects/m-p/80781#M32454</link>
    <description>&lt;P&gt;Hi Felix,&lt;/P&gt;
&lt;P&gt;maybe try this:&lt;/P&gt;
&lt;P&gt;SELECT&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.name,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.description,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.createdate&lt;BR /&gt;FROM BPAProcess p&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; left join BPAProcessIDDependency d on p.processid=d.processID&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; left join BPAProcess p2 on p2.processid = d.refProcessID&lt;BR /&gt;where &amp;nbsp; &amp;nbsp;p.ProcessType = 'O'&lt;BR /&gt;--retired objects are not taken into acount (AttributeID= 1)&lt;BR /&gt;and &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p.AttributeID &amp;lt;&amp;gt; 1&amp;nbsp;&lt;BR /&gt;and &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;d.id is null&lt;BR /&gt;and &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p.name not in (&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; select refProcessName&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from BPAProcessActionDependency)&lt;BR /&gt;order by p.name&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;There will be probably better queries, but I am using them.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Jan&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jan Piwowarski&lt;BR /&gt;Development Lead&lt;BR /&gt;Commerzbank AG&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Mar 2023 12:42:00 GMT</pubDate>
    <dc:creator>al2piwo</dc:creator>
    <dc:date>2023-03-13T12:42:00Z</dc:date>
    <item>
      <title>Find all unused Objects</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Find-all-unused-Objects/m-p/80779#M32452</link>
      <description>&lt;P&gt;I am looking for a way to find all Objects that are not referenced by any processes. I assume the best way would be a SQL query on the BP database, but after a bit of searching around in the tables I couldn't find an obvious way to achieve this. Does anyone know which tables to query to get this result?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Felix Oehl &lt;BR /&gt;Belgium&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Mar 2023 08:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Find-all-unused-Objects/m-p/80779#M32452</guid>
      <dc:creator>foehl</dc:creator>
      <dc:date>2023-03-13T08:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Find all unused Objects</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Find-all-unused-Objects/m-p/80780#M32453</link>
      <description>&lt;P&gt;Hi Felix - the BPAProcessNameDependency table records relationships between processes and objects, so objects not in this table will be unreferenced.&lt;/P&gt;
&lt;P&gt;This tool may also be of interest too you:&amp;nbsp;https://digitalexchange.blueprism.com/dx/entry/3439/solution/business-object-library-snapshot-generator&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Carter&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Mar 2023 12:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Find-all-unused-Objects/m-p/80780#M32453</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2023-03-13T12:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: Find all unused Objects</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Find-all-unused-Objects/m-p/80781#M32454</link>
      <description>&lt;P&gt;Hi Felix,&lt;/P&gt;
&lt;P&gt;maybe try this:&lt;/P&gt;
&lt;P&gt;SELECT&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.name,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.description,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.createdate&lt;BR /&gt;FROM BPAProcess p&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; left join BPAProcessIDDependency d on p.processid=d.processID&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; left join BPAProcess p2 on p2.processid = d.refProcessID&lt;BR /&gt;where &amp;nbsp; &amp;nbsp;p.ProcessType = 'O'&lt;BR /&gt;--retired objects are not taken into acount (AttributeID= 1)&lt;BR /&gt;and &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p.AttributeID &amp;lt;&amp;gt; 1&amp;nbsp;&lt;BR /&gt;and &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;d.id is null&lt;BR /&gt;and &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p.name not in (&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; select refProcessName&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from BPAProcessActionDependency)&lt;BR /&gt;order by p.name&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;There will be probably better queries, but I am using them.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Jan&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jan Piwowarski&lt;BR /&gt;Development Lead&lt;BR /&gt;Commerzbank AG&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Mar 2023 12:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Find-all-unused-Objects/m-p/80781#M32454</guid>
      <dc:creator>al2piwo</dc:creator>
      <dc:date>2023-03-13T12:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find all unused Objects</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Find-all-unused-Objects/m-p/110111#M49739</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/21933"&gt;@al2piwo&lt;/a&gt;&amp;nbsp;Thank you for your working solution, the query worked great!&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/27547"&gt;@John__Carter&lt;/a&gt;&amp;nbsp;Thanks for the tip on the snapshot creation tool. For this use case it looks a bit of a sledgehammer to crack a nut, but it looks very interesting. I can see possibilities for it on another use case already.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 13:28:50 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Find-all-unused-Objects/m-p/110111#M49739</guid>
      <dc:creator>foehl</dc:creator>
      <dc:date>2024-05-02T13:28:50Z</dc:date>
    </item>
  </channel>
</rss>

