create a flag named "Is Manager" in user table and write business rule logic to set this flag is the user is a manager for any user in sys_user table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2022 01:22 AM
create a flag named "Is Manager" in user table and write business rule logic to set this flag ig the user is a manager for any user in sys_user table.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 01:18 AM
You can write a simple BR on insert/update where manager is not empty and (via show related fields) manager.is_manager is false and update manager.is_manager to true. Condition in below screenshot is on 'active' (as for the action).
For all existing users you can write a fix script just checking on the manager field and setting that 'flag'.
Of course this can also be achieved through the flow designer.
If my answer helped you in any way, please then mark it as helpful.
Mark
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark