How To Get The Server Name In A Groovy Script After Rel 13
(Doc ID 2372391.1)
Last updated on MARCH 12, 2018
Applies to:Oracle Fusion Sales Cloud Service - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
On : 126.96.36.199.0 version, Accounts, Contacts, Households
How to get the server name in a groovy script
I have created an Action using Application composer in order to call an external web site.
The external web site needs to know if the caller is the OSC test or the OSC production enviroment
So i was looking for a groovy function to get it, something like: adf.util.getServerName().
Doc ID 2291413.1 is saying the function to use is
Unluckily trying it, I get the error below:
Exception in expression "OrganizationDVO.XXXXXXX": oracle.jbo.JboException Unable to obtain deployed application for application short name: SalesApp
I tried to use the same function in a different environment, that is OSC R12 and it worked without issue.
Perhaps I should set the short name SalesApp, if so how can I set it?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document