How can to call a Script Include in scoped application from Global Business Rule?

Rohit  Singh
Mega Sage

Please help in providing steps to call a Script Include in scoped application from Global Business Rule?

1 ACCEPTED SOLUTION

swathisarang98
Giga Sage
Giga Sage

Hi @Rohit Singh ,

 

Yes you can, add the api name available in script include,

like add application name before adding script include name

 

 

 

var siname =  new sn_vul.getUserDtail().getUser();

 

 

 

api name.<function name>;

 

Please check and Mark Helpful and Correct if it really helps you.

Regards,

Swathi Sarang

View solution in original post

3 REPLIES 3

swathisarang98
Giga Sage
Giga Sage

Hi @Rohit Singh ,

 

Yes you can, add the api name available in script include,

like add application name before adding script include name

 

 

 

var siname =  new sn_vul.getUserDtail().getUser();

 

 

 

api name.<function name>;

 

Please check and Mark Helpful and Correct if it really helps you.

Regards,

Swathi Sarang

I am able to get the return value from script Include but when I am using that return value to set a field using GR in my BR then it's not happening.

@Rohit Singh could you please share the code or give some screen shots ?