cancel
Showing results for 
Search instead for 
Did you mean: 

Workitem agents can not be found if role is inherited from another role

jgangwolf
Participant
0 Kudos

Hello,

we created a generic role based on a standard role with a standard workitem task. Unfortunately the agent determination cannot find any user since the assigned role is inherited from a generic role. Is there any possibility to solve that problem.

Thanks in advance

Accepted Solutions (0)

Answers (3)

Answers (3)

StephaneBailleu
Active Contributor

Hi

I think you shall tell us as well if the task is generic task ?

If you are making the deternimation via a rule (which looks of the people with this role) or if the assignment of the task is on the role

Also is there any excluded agent on the workflow step ?

Best regards

Stephane

jgangwolf
Participant
0 Kudos

Hello Stephane,

initially the problem is that the workflow is an approval workflow. This workflow should only assign tasks to users which are authorized by role for the specific approval plant. This does not work out so i was looking for a coding solution. The relevant wf task is a standard workflow task which determines its agent by assigning the task to the user (i guess but i am not sure). Its not general and its not determined by rule. Unfortunatelly the determination is not made as usual by the task itself. There exists a parent workflow which has one backround task to determine the agents ( generic instantiate method ) . Here it is not very easy to comprehend the standard coding. Nevertheless if the person has an inherited role its not working. If the role is included in a custom role its working. I cannot verify by coding if this determination is done based on the assigned wf task or by another procedure. If the determination is done, another task processes all found agents and for each user a subworkflow with a PCBO gets created.

For now we revert the inheritance and i made an enhancement in the standard logic which checks all users and creates the subworkflows. There i check if the determined user is allowed to do an approval for the relevant location.

If you have any other idea, please let me know.

Thanks

Jonas

anjan_paul
Active Contributor
0 Kudos

Hi,

Can we get the screenshot of Role.

Thanks.