Where are OOB Functions Stored

codechaser
Giga Expert

Where are OOB functions store in SN (i.e. getUserID())?

Thank you!

1 ACCEPTED SOLUTION

Jon Barnes
Kilo Sage

There are alot that you won't have access to. they are Java functions stored internally. My suggestion is to check the following to see if you have access:

 

Search in Script Includes for the class/function name.

Search in Business Rules (because there are these global business rules that SNOW used early on that have some functions like getMyApprovals(), etc)

 

If you can't find the function you are looking for there, and you are sure it is a server side function, then you prob don't have access to it.

View solution in original post

1 REPLY 1

Jon Barnes
Kilo Sage

There are alot that you won't have access to. they are Java functions stored internally. My suggestion is to check the following to see if you have access:

 

Search in Script Includes for the class/function name.

Search in Business Rules (because there are these global business rules that SNOW used early on that have some functions like getMyApprovals(), etc)

 

If you can't find the function you are looking for there, and you are sure it is a server side function, then you prob don't have access to it.