Why Before Query Business Rule is unavailable in scoped app

Beata I_owiecka
Kilo Guru

Hello,

 

Tempted by this post: https://servicenowguru.com/business-rules-scripting/controlling-record-access-before-query-business-... I tried to make my own Before Query Business Rule. But it turned out that it's not possible in a scoped app:

 

before query BR not available.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

After I changed the scope to global, it became available.

Can you tell me why?

1 ACCEPTED SOLUTION

Chaitanya ILCR
Kilo Patron

Hi @Beata I_owiecka ,

There is an OOB client script that's making this field disabled.

as per that only table in the current scope can be created as query BR.

You can create this Query BR in Global scope

ChaitanyaILCR_0-1741664587500.png

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

 

 

View solution in original post

2 REPLIES 2

Chaitanya ILCR
Kilo Patron

Hi @Beata I_owiecka ,

There is an OOB client script that's making this field disabled.

as per that only table in the current scope can be created as query BR.

You can create this Query BR in Global scope

ChaitanyaILCR_0-1741664587500.png

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

 

 

J Siva
Tera Sage

Hi @Beata I_owiecka 

Requested item item table is on Global scope and your business rules is on custom scope.

That's why the query check box is greyed out.

Regards,

Siva