rajeshnaik

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-06-26
12:02
438 views
Reading Resource Owners in Workflow
Hi,
I am building a resource approval workflow, and I have a task to assign the approval process to resource owners.
If it was role owners, I was using java.util.Arrays.asList(RoleVault.getRoleOwners(NrfRequest.getSourceDN()).getDns());
But is there any ways to read the resource owners?
IDM Version: 4.6.2
I am building a resource approval workflow, and I have a task to assign the approval process to resource owners.
If it was role owners, I was using java.util.Arrays.asList(RoleVault.getRoleOwners(NrfRequest.getSourceDN()).getDns());
But is there any ways to read the resource owners?
IDM Version: 4.6.2
2 Replies


Knowledge Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-06-29
17:22
rajeshnaik;2483075 wrote:
Hi,
I am building a resource approval workflow, and I have a task to assign the approval process to resource owners.
If it was role owners, I was using java.util.Arrays.asList(RoleVault.getRoleOwners(NrfRequest.getSourceDN()).getDns());
But is there any ways to read the resource owners?
IDM Version: 4.6.2
Build a query in the DAL and use that? Haven't tried it, but it seems like that should work.


Knowledge Partner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-06-29
17:58
On 6/29/2018 12:24 PM, dgersic wrote:
>
> rajeshnaik;2483075 Wrote:
>> Hi,
>>
>> I am building a resource approval workflow, and I have a task to assign
>> the approval process to resource owners.
>>
>> If it was role owners, I was using
>> java.util.Arrays.asList(RoleVault.getRoleOwners(NrfRequest.getSourceDN()).getDns());
>>
>> But is there any ways to read the resource owners?
>>
>> IDM Version: 4.6.2
>
> Build a query in the DAL and use that? Haven't tried it, but it seems
> like that should work.
If not a Query, then at least an Entity definition for nrfResource, with
the nrfOwner attribute so you can do an IDvault.get() as needed.
>
> rajeshnaik;2483075 Wrote:
>> Hi,
>>
>> I am building a resource approval workflow, and I have a task to assign
>> the approval process to resource owners.
>>
>> If it was role owners, I was using
>> java.util.Arrays.asList(RoleVault.getRoleOwners(NrfRequest.getSourceDN()).getDns());
>>
>> But is there any ways to read the resource owners?
>>
>> IDM Version: 4.6.2
>
> Build a query in the DAL and use that? Haven't tried it, but it seems
> like that should work.
If not a Query, then at least an Entity definition for nrfResource, with
the nrfOwner attribute so you can do an IDvault.get() as needed.