[midPoint] RoleType in workflows

Radovan Semancik radovan.semancik at evolveum.com
Mon Jul 21 12:37:11 CEST 2014


Hi Adra,

Fist of all I need to clarify the question a bit. Are you trying to 
specify a groups of approvers for a role?

If this is the case then you should use Org to group approvers, not a 
role. Roles are used for provisioning and they cannot be used for 
grouping users. Orgs are used for user grouping. So use org instead. The 
org OID can be used instead of user OID in the approverRef property.

I see that the "Role vs Org" issue is not obvious. Therefor I've just 
explained it here: https://wiki.evolveum.com/display/midPoint/Roles+and+Orgs

-- 

                                            Radovan Semancik
                                           Software Architect
                                              evolveum.com




On 07/16/2014 01:02 PM, Arda Nural wrote:
>
> Greetings all,
>
> Can we use a role in role approval  workflow process? In the examples 
> and wiki,  I only noticed that the approvers are UserType objects. I 
> tried the example below and the result was: a workflow process was 
> created but the work item didn't show up on users work items who has 
> the approver role.
>
> Thank you in advance.
>
> Arda
>
> <role oid="12345678-d34d-b33f-f00d-000187987989"
>
> xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
>
> xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3">
>
>     <name>Role approved by role</name>
>
> <description>desc</description>
>
>     <approverRef 
> xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
>
> oid="00000000-0000-0000-0000-000000000004"
>
>                  type="c:RoleType">
>
>         <description>Approval by the administrator</description>
>
>     </approverRef>
>
> </role>
>
> 	
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20140721/92ccc3f9/attachment.htm>


More information about the midPoint mailing list