Unable to read sys_id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2017 12:30 AM
Hello,
I'm having a businddess rule on Task table,which gets executed when the Script Include which is given in the condition field evaluates to true.
But, in my SCript Include, i'm passing the params from the business rule condition itself.
When the script include is called it is unable to read my record object.sys_id.So its returning an exception
Exception (TypeError: Cannot read property "sys_id" from null (sys_script_include.37f814d06ffa220025c42fceae3ee425.script; line 9)) occured while evaluating'Condition: javascript:new AffectedUtils().hasAffected(current, "task_ci", "task");' in business rule 'Affected ci notifications' on problem:PRB0001391; skipping business rule
How can I overcome this.Any ideas?
TIA,
Trinadh.
- Labels:
-
Problem Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2017 03:07 AM
Hi Trinadh,
I don't know about that configuration of BR and script include. There are some execution time issue faced at the time. I thought so upgraded version use latest functionality to overcome this problem.
Thanks,
Kishor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2017 03:13 AM
Thanks for the response Kishor.Will check that anyhow.