The CreatorCon Call for Content is officially open! Get started here.

extend business rule condition statement

gracjan
Tera Guru

I am trying to extend business rule condition statement with script include. I tried the following but it does not work. Can you help?

scriphc.JPG

business rule.JPG

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.

7 REPLIES 7

AnveshKumar M
Tera Sage
Tera Sage

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.

 

 

Thanks,
Anvesh

How come? I used this SN out of the box Script include as a model.s.JPG

Does it mean that if the BR is a Query, the script include does not work with the condition statement?

I tried it and it did not work what you suggested.