Create Business Rule from Scoped Application

B_10
Tera Contributor

Hi,

Main Question:

I would like to create a Business Rule from a Scoped Application. 

Any roadmap to how to do that would be a perfect answer to my question.

Supporting Things:

When my Scoped-Application Script attempts to create a Business Rule, I get an error message for every field on the Business Rule I have tried to assign a value to, for instance "Access to api 'put(sys_script.name)' from scope 'x_cg4at_cg4_asset' has been refused due to the api's cross-scope access policy".

What file do I add to my application that will grant my application the proper cross-scope access in order to be able to create (and delete) a Business Rule from scripts within my application?

Thanks

1 ACCEPTED SOLUTION

asifnoor
Kilo Patron

Hi,

Whichever tables you are trying to access from your scoped application, Go to those tables. Under Access, application settings, make them available from all application scopes, so that they can be used.

Mark the comment as a correct answer if it helps.

View solution in original post

2 REPLIES 2

asifnoor
Kilo Patron

Hi,

Whichever tables you are trying to access from your scoped application, Go to those tables. Under Access, application settings, make them available from all application scopes, so that they can be used.

Mark the comment as a correct answer if it helps.

B_10
Tera Contributor

It seems like there isn't any way to gain more access than is made available right at that base level, on the table record itself.  Good call.  Thank you for the answer, I appreciate it.  Thanks