How to call script include when different scope

chandan31
Tera Contributor

Hi ,

 

My script include is

Human recourse :Lifecycle Enterprise and

business rule is in  Global .

Can you tell me how to write a script to call script include .in the business rule because both are different scope.

 

Thanks,

Chandan

1 ACCEPTED SOLUTION

Danish Bhairag2
Tera Sage
Tera Sage

Hi @chandan31 ,

 

If u want to call any script include which is in other scope than global u can just do like this

new api_Name_of_the_Script_Include().function();

 

Thanks,

Danish

View solution in original post

1 REPLY 1

Danish Bhairag2
Tera Sage
Tera Sage

Hi @chandan31 ,

 

If u want to call any script include which is in other scope than global u can just do like this

new api_Name_of_the_Script_Include().function();

 

Thanks,

Danish