- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 01:29 AM
Hi Team, I just want to print log message.
I am doing this through Background Script"
This is working fine and showing entry in syslog table, but I am using the same in scheduled job and business rules it is not working.
just add on question to this.
gs.log(); this method where we can use in the background script it is working , but not in the client script I think due to gs is server side method. but it is also not working in BR. also in scheduled job not working , but working in Scheduled Script Execution
Please help in differentiate this logs in various modules.
Thanks in advance to all.
Vyanktesh Khupse
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 01:38 AM
Hi @Vyanktesh08 ,
gs.log() is working on background script, Business rules and script include, it works when you do coding on server side. If you are working in scoped application please try with gs.info();
In client script you can use alert();
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 01:38 AM
Hi @Vyanktesh08 ,
gs.log() is working on background script, Business rules and script include, it works when you do coding on server side. If you are working in scoped application please try with gs.info();
In client script you can use alert();
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 01:57 AM
Hello @Community Alums ,
Thanks for commenting.
Vyanktesh.