extend business rule condition statement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 12:00 PM - edited ‎07-26-2023 12:07 PM
I am trying to extend business rule condition statement with script include. I tried the following but it does not work. Can you help?
I am doing this because I have more groups to include to add to the BR which would not fit in the condition statement field. The business rule is a query to run before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 12:15 PM
Hi @gracjan
You should call script include like this,
new incidentHCcond().seccond(current)
And in the script include it is not good to use the function parameter as "current", try changing it to something else.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 03:47 PM
How come? I used this SN out of the box Script include as a model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 06:01 PM
Does it mean that if the BR is a Query, the script include does not work with the condition statement?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 05:56 PM
I tried it and it did not work what you suggested.