<?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: BPE - BP UI automation - Roles assigned - Tree view error in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122100#M53566</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/64431"&gt;@MilanPinter&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for SQL. This was also my first idea to query the DB tables directly. Unfortunately are those tables empty in our environments as we use Single Sign-On.&lt;/P&gt;&lt;P&gt;I was hoping this was changed in 7.x as this version does AD caching and its sync of AD users takes significantly longer, and there would be a user role assignment of cached users stored in DB. Unfortunately the BPAUserRoleAssignment table has still only one row: Anonymous Resource assigned to user named NULL. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;&amp;nbsp;Walter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Aug 2025 05:37:16 GMT</pubDate>
    <dc:creator>Walter.Koller</dc:creator>
    <dc:date>2025-08-14T05:37:16Z</dc:date>
    <item>
      <title>BPE - BP UI automation - Roles assigned - Tree view error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122076#M53559</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I wanted to automate Blue Prism to generate a report of all users and their assigned roles.&amp;nbsp;&lt;BR /&gt;Although I much appreciate if anyone knows a better way to get this information for AD managed roles.&lt;/P&gt;&lt;P&gt;I worked my way to the point when it actually comes to read the assigned roles and I am not able to read the tree view representation of those assignment. I am using Win32 spied tree view, like I already successfully did for user roles and user list, but for some reason I get an error in the user role pop up window.&lt;/P&gt;&lt;P&gt;This pop up is here: Security tab, User Roles, right upper hamburger, User details, Roles and Permissions tab&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WalterKoller_1-1755075836256.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41361iE6CAB3D64761F12E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="WalterKoller_1-1755075836256.png" alt="WalterKoller_1-1755075836256.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Spied element&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WalterKoller_3-1755076023340.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41363i0ADDBEB578F977A7/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="WalterKoller_3-1755076023340.png" alt="WalterKoller_3-1755076023340.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WalterKoller_2-1755075898936.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41362iF20AB1D07C14B14B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="WalterKoller_2-1755075898936.png" alt="WalterKoller_2-1755075898936.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Navigate stage&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WalterKoller_4-1755076084139.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41364i63BC46C3F74F6EDC/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="WalterKoller_4-1755076084139.png" alt="WalterKoller_4-1755076084139.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Error message&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WalterKoller_0-1755075561975.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41360i2C3B3FB52EF49B37/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="WalterKoller_0-1755075561975.png" alt="WalterKoller_0-1755075561975.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am doing the exact same steps for other tree views in BP UI and they work just fine by using either text or index. I have tried both Select Item parameters for the problematic one, and neither index nor text works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message is also kind of weird by saying 'the operation completed successfully'.&lt;/P&gt;&lt;P&gt;Also strange is that I can successfully use Expand Item action on the very same UI element with the very same Item Text parameter and it works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Walter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: I am using BP v7.3.2 both for automation and to be automated&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 09:25:16 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122076#M53559</guid>
      <dc:creator>Walter.Koller</dc:creator>
      <dc:date>2025-08-13T09:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: BPE - BP UI automation - Roles assigned - Tree view error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122077#M53560</link>
      <description>&lt;P&gt;Tagging&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/490"&gt;@harish.mogulluri&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2151"&gt;@Neel1&lt;/a&gt;&amp;nbsp;on this one, any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 09:22:47 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122077#M53560</guid>
      <dc:creator>Michael_S</dc:creator>
      <dc:date>2025-08-13T09:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: BPE - BP UI automation - Roles assigned - Tree view error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122095#M53563</link>
      <description>&lt;P&gt;Do you have read access to the database? It would be much easier and more efficient.&lt;BR /&gt;SELECT *&lt;BR /&gt;FROM [xxx].[dbo].[BPAUserRoleAssignment] ura&lt;BR /&gt;LEFT JOIN [xxx].[dbo].[BPAUser] u ON ura.userid=u.userid&lt;BR /&gt;LEFT JOIN [xxx].[dbo].[BPAUserRole] ur on ura.userroleid=ur.id&lt;BR /&gt;WHERE&amp;nbsp;username = 'Walter.Koller'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2025 15:55:58 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122095#M53563</guid>
      <dc:creator>MilanPinter</dc:creator>
      <dc:date>2025-08-13T15:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: BPE - BP UI automation - Roles assigned - Tree view error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122100#M53566</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/64431"&gt;@MilanPinter&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for SQL. This was also my first idea to query the DB tables directly. Unfortunately are those tables empty in our environments as we use Single Sign-On.&lt;/P&gt;&lt;P&gt;I was hoping this was changed in 7.x as this version does AD caching and its sync of AD users takes significantly longer, and there would be a user role assignment of cached users stored in DB. Unfortunately the BPAUserRoleAssignment table has still only one row: Anonymous Resource assigned to user named NULL. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;&amp;nbsp;Walter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 05:37:16 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122100#M53566</guid>
      <dc:creator>Walter.Koller</dc:creator>
      <dc:date>2025-08-14T05:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: BPE - BP UI automation - Roles assigned - Tree view error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122101#M53567</link>
      <description>&lt;P&gt;That's interesting. We're on version 7.1, using both native and SSO, and we have this table populated with all AD user details. Do you use an authentication server? We're on native authentication here. Also, do you manage your Blue Prism roles through Active Directory?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 06:41:53 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122101#M53567</guid>
      <dc:creator>MilanPinter</dc:creator>
      <dc:date>2025-08-14T06:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: BPE - BP UI automation - Roles assigned - Tree view error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122107#M53568</link>
      <description>&lt;P&gt;We don't use authentication server&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WalterKoller_0-1755154452126.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41373iBA9D7F42C262A100/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="WalterKoller_0-1755154452126.png" alt="WalterKoller_0-1755154452126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We don't use mixed authentication but SSO only&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WalterKoller_1-1755154505396.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41374iBD1AA8C7A27D6824/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="WalterKoller_1-1755154505396.png" alt="WalterKoller_1-1755154505396.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Roles are managed in AD&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WalterKoller_2-1755154544101.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41375i1A0A1D7C78A934E6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="WalterKoller_2-1755154544101.png" alt="WalterKoller_2-1755154544101.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Out of 66 roles and 37 active users, there is only one role assignment in the DB&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WalterKoller_4-1755155011751.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41377iBFA02C599B6EF0C2/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="WalterKoller_4-1755155011751.png" alt="WalterKoller_4-1755155011751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 07:04:29 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122107#M53568</guid>
      <dc:creator>Walter.Koller</dc:creator>
      <dc:date>2025-08-14T07:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: BPE - BP UI automation - Roles assigned - Tree view error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122108#M53569</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/64431"&gt;@MilanPinter&lt;/a&gt;&amp;nbsp;it would be interesting to know what your configuration is. We might then just create a temporary environment with similar settings to query this info from DB instead creating more complex workarounds on UI (which doesn't work for Role assignments in BP UI).&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2025 07:09:44 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122108#M53569</guid>
      <dc:creator>Walter.Koller</dc:creator>
      <dc:date>2025-08-14T07:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: BPE - BP UI automation - Roles assigned - Tree view error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122132#M53581</link>
      <description>&lt;P&gt;We are using Blue Prism 7.1.1 with both AD and Blue Prism Native authentication. Role membership is managed within Blue Prism, not through Active Directory. To retrieve users for a given AD group, you may need to query Active Directory directly. I assume the association between role membership and the AD group can be found in the Blue Prism database somewhere?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 09:03:01 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122132#M53581</guid>
      <dc:creator>MilanPinter</dc:creator>
      <dc:date>2025-08-18T09:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: BPE - BP UI automation - Roles assigned - Tree view error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122135#M53583</link>
      <description>&lt;P&gt;OK, if role membership is maintained in Blue Prism and not in AD, then the DB has to store this information.&lt;/P&gt;&lt;P&gt;BP user roles mapping to AD groups can be found in this tables:&lt;BR /&gt;from&lt;BR /&gt;BPAUserRole ur&lt;BR /&gt;left join BPASSOGroupRoleMapping grm on grm.RoleID = ur.id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Querying our AD was always a problem until recently, as they (&amp;gt;100 AD) have to meet high security requirements of federated companies in an international holding. Eventually, shortly after creating this thread, we managed to get meaningful results from AD queries.&amp;nbsp;&lt;BR /&gt;I didn't 'close' this thread as my original question was primarily regarding Win32 features not working. (And we might need this approach maybe later when we move to Entra ID and AD topolgy becomes even more complex)&lt;/P&gt;&lt;P&gt;My secondary question about possible alternative ways to get this information was answered though. Thanks&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/64431"&gt;@MilanPinter&lt;/a&gt;&amp;nbsp;for your input!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Walter&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 09:26:44 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BPE-BP-UI-automation-Roles-assigned-Tree-view-error/m-p/122135#M53583</guid>
      <dc:creator>Walter.Koller</dc:creator>
      <dc:date>2025-08-18T09:26:44Z</dc:date>
    </item>
  </channel>
</rss>

