Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 08:22 AM
Hi Team,
I have a requirement where i need to call the script include from business rule ,
Not wroking ,Please help me to get this issue resolved
Solved! Go to Solution.
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 08:37 AM
Modify the script include Line 7 like this
var obj = {};
Business rule
if (JSUtil.nil(errStatus)) {
var b = new newPropValue().base_class();
if (b.indexOf(current.sys_class_name.toString()) == -1) {
//your code
}
Thanks,
Narsing
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 08:37 AM
Modify the script include Line 7 like this
var obj = {};
Business rule
if (JSUtil.nil(errStatus)) {
var b = new newPropValue().base_class();
if (b.indexOf(current.sys_class_name.toString()) == -1) {
//your code
}
Thanks,
Narsing
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 08:47 AM