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.

Srishti7
Tera Contributor

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.

5 REPLIES 5

Mark Manders
Mega Patron

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).find_real_file.png

find_real_file.png

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