Business Rule should run only when the user is logged in
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 11:36 PM
Hello All,
I have created one br that consist of some script. But I want to run this br when user is logged in.
Any help appreciated.
Thank you
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 11:50 PM
Hello @Sonu Parab ,
Try to put this following in the condition
gs.getSession().isLoggedIn();
Regards,
Shyamkumar
Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,
Shyamkumar
Regards,
Shyamkumar
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 11:55 PM
@Sonu Parab You can try this method
gs.isLoggedIn();
//it will return true or false based on the logged in state of the user
Hope this helps
Mark the answer correct if this helps you
Thanks