need help to retrive url in Business rule
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2024 06:52 PM
Hi All,
I have before business rule , I am trying to get the URL when this business rule runs. Below is the statement that I am using. but i am getting as undefined. can someone help me here . How to get the url of the page where this business rule is executing
// Get the current URL
var currentUrl = gs.getRequestURI();
// Log the current URL for debugging
gs.info('Current URL: ' + currentUrl);
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 10:37 AM
'gs.action.getGlideURI()' to retrieve URL parameters in a Business Rule.
Snippet of the syntax :
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.
Sujatha V.M.