10-21-2019 9:51 AM - edited 02-04-2024 6:57 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can we get the screenshot of Role.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.