56
Views
2
Comments
Add Dynamic users to group to check specified Human activity .

hi, my friends, 

I'm using human activity and trying to set users' dynamics to manage another task 

and show the task box to the users that assigned it to the group 

I made some steps to create it.

1 - I created a dynamic group 

2- set a list of users to this group.

3-Assign this group to my Current  Activity.


((While using HumanActivity_AssignToUsers after ActivitySetGroup flows the task box appears only to this user and another member not.))

while checking the server center and check process we will find that the group assigned correctly to my process


if we check the database Table User_Group we will see that users assigned correctly to the group 

we can check the human activity details as :

but when make login in with any users that are assigned to the group, the task box does not appear.

any help? 

2018-10-29 08-31-03
João Marques
 
MVP

Hi Yahia,


Please try to insert the tenant as well when creating the User_Group records.

To do so, right-click the Group_User table under the Data tab, expand the More Options section and check the Show Tenant Identifier box, as in the image below:


You are probably using the Users tenant, which you can confirm by checking the properties of your EmployeeDirectory_New module:


Just get the TenantId by making an aggregate to the Tenant table (you can refer from the System extension), filtering by your eSpace (module), to fill the Tenant_Id attribute of the User_Group entity.


That should solve the issue.


Kind Regards,
João

UserImage.jpg
yahia galal

thank you for your response, 
but while adding TanentId and checking the table data, 
i found that the tenant_Id  value Set by default

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.