send an email to user with itil group names, if user is a member of itil group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2024 06:53 AM
Hi,
The request is to send an email to user with itil group names if user a member of itil group. How to achieve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2024 07:22 AM
Hey @Sarah Bouil ,
I am not sure of what context this is in in but you could fire an event that fires the notifications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2024 08:52 AM
Hi @Sarah Bouil ,
The trigger a notification one of the crucial part is to decide what will be the trigger condition 'when to send'.
Could you please explain your use case in detail? Thanks.
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2024 02:57 PM
I need to remove ITIL role from user ''Test1'' but the ITIL role is inherited from group 'Welcome1'. In order to remove ITIL role from user I should be remove group ''Welcome1' from user 'Test1', since ITIL is inherited from group.
so my requirement is:
1. I need to send an email to Test1 user and saying message as: we are revoking the ITIL access and the group is: Welcome1, since you didn't logged in the system from last 6 months.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2024 04:06 AM
Hi @Sarah Bouil ,
You can achieve this by using Flow Designer.
I am sharing the step by step process as below:
In the filter navigator, search 'Flow Designer' open it.
Click on 'new' and select 'flow'
Provide a Flow name and description, click on build flow.
In the Trigger, select as below:
It will run daily at 6 to check for users
In the action, select as below: Last login relative before 6 months ago and active is true for user record.
Now, In Flow Logic > For each
Now, we are going through each record in sys_user_grmember for each user found in above record.
Looping through each record and in next step we will delete/remove them.
removing the group and it will eventually remove inherited roles.
Finally, we are going to send the notification to the user who has been removed.
Create an event in the [sysevent_register] table with name 'inactivity.alert'
Now, setup a notification which will trigger by the above event and in who will receive, select parm1 as that will have the email of the recipient.
Result for reference of the above setup:
Mark this as Helpful / Accept the Solution if this helps
Mark this as Helpful / Accept the Solution if this helps.