Why is my BR not working and how to identify the issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2023 02:35 AM
Hi Community,
Need your expertise on another issue
I'm trying to create a Leave Request system, but after adding proper trigger conditions and JavaScript I'm unable to find the result. so my question is how to identify the right issue? and what should be the process.
Please find the images for reference. I have cross-checked variable names, and all of them are correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2023 03:06 AM
Hi @MG_Azam ,
Can u put some logs n check whether your BR is getting triggered or not?
For eg u can start by placing log at line number 2
gs.info("BR called").
2nd log u can put under if condition where u checking leave assignment is Y.
Similarly u can place other logs at different places to check whether the code reached/executed till der or not.
Thanks,
Danish