- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 06:35 AM
Hi All,
I wanted to create a schedule job which runs daily to remove users from a particular group.
For e.g.: If user raise a request for group access, post approvals, user was added automatically into the group. This was achieved through flow designer.
Now I want to remove the same user from the same group after 24hrs through automatically.
Anyone worked on this, please help me with the steps or scripts.
Regards,
Ajith
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 06:48 AM - edited 07-24-2024 08:37 AM
You can use the 'Wait' option from the Flow Logic to wait for a desired amount of time, before continuing in the same flow with removing the user.
Regards,
Hayo
--EDIT--
Have a look at the time limited roles, maybe it suites your needs:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 06:44 AM
In your flow, use eventQueueScheduled API to schedule an event for a specific time in the future and have a Script Action react to it and remove the user from the group.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 06:48 AM - edited 07-24-2024 08:37 AM
You can use the 'Wait' option from the Flow Logic to wait for a desired amount of time, before continuing in the same flow with removing the user.
Regards,
Hayo
--EDIT--
Have a look at the time limited roles, maybe it suites your needs: