Replies
Hi Ravi,
Thanks for the code. I have done some test and it’s working. There is one scenario which is not working. When a user is part of 2 groups then the user group id field will have 1,2 (comma separated values for group id’s). It does work when the user is part of 1 group only.
Any thoughts?
Thanks
Thanks
Hi Brajesh,
I meant using the ‘IN’ condition. I have a xprofile field called group which will be populated in identity manager for each user. So, a user can be part of group 1 and 2. How do I use the IN condition?
See below screenshot
https://www.coopappdev.com/wp-content/uploads/2021/07/sync_in_condition.jpgThanks
Other question – is the sync suppose to remove user from a group if they don’t match the condition?
Thanks
Thanks Brajesh
I have upgraded the plugin and also installed the sync plugin. I can now see the cron job too. One more question re the conditions for the auto lists. I have a group id field in user profile which will contain comma separated id’s. Let’s assume a user belongs to group 1,2 and I have an auto-list created. So, under conditions I selected the group id field and operator as ‘In’ and in the 3rd box I enter 1 for the auto-list of group 1 and 2 for the auto-list of group 2. Is this the correct way to setup? Trying that but it’s not working
Thank you very much. Appreciate it
Hi Brajesh, we might have around 4000 users if everyone joins and it’s an internal only application. Scenario we have is that if a users changes their department or location of work (which will be updated automatically from other system) then their group subscription need to change for the relevant group for the new dept or location to which they belong to. That is why I am thinking of setting up a cron job so it runs and updates user group based on the latest profile.
Hope that helps.
Thanks
HI Ravi,
Thanks for your reply. What hook is available for auto join groups which I can use in the cron job function? If you have any sample that would be a great help
Thanks
Hi Brajesh,
Could we setup a cronjob to go through all ‘subscriber’ role and auto-subscribe and auto-unsubscribe them based on the auto lists that I create which will have different conditions? If you prefer, I can connect over email.
This way the system can auto join and unjoin automatically?
Thanks