Parameters within Script include not generating any results
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2024 04:10 AM
I've got a script include with the following function:
However, I've also tried copying the function into a background script:
Can somebody explain where I'm going wrong because I want the parameters in my function to align correctly within my gliderecord

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2024 04:20 AM
Just check your sysids in background script once.
the below line in bg script
spcRecords.addQuery('u_provider', '7e4692b81bae9550d1c4dbd6b04bcbef');
but there in script include logs, there is no record that printed 7e4692b81bae9550d1c4dbd6b04bcbef
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2024 04:39 AM
I've just updated a record and the business rule has triggered. It seems that I was looking at the wrong area. It seems to now get the right results according to the logs:
However though, I need to know why it's not showing the results in my while loop:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2024 04:21 AM
It looks like in the background script you've hard-coded 3 sys_ids that are different than the Business Rule test case, so this isn't a great test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2024 04:29 AM
Ok. How would I get Sys IDs to those parameters in my script include?