You are viewing limited content. For full access, please sign in.

Question

Question

Assign to Role finds 0 team member(s)

asked on July 28, 2021

Hello.  Maybe I am missing something obvious, but I have three roles set up for a Forms Team we have.  One of the Roles with valid team members will report 0 team member(s) when tested.

 

Here is the team/role definition:

 

Fails at the test

 

I tried deleting the role and recreating it as a different name and that did not work.  Is something stuck in SQL, or what could be going on here?  Assigning to other roles on that team will work just fine.

 

Thank you for your help.

0 0

Replies

replied on July 28, 2021

Hi Kevin,

Are users with role ERAApprove team admin or team manager? findMembersByRole('RoleName') will return team members with the role.

0 0
replied on July 30, 2021

Ziyan -

 

The ERAApprove role contains one team manager and two administrators.  Since you brought it up, I also made each a "team member" as well and that fixed the problem.  I wasn't aware that you needed to be a team member to also get assigned tasks.  Thank you!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.