How To Get The Server Name In A Groovy Script After Rel 13
Last updated on MARCH 12, 2018
Applies to:Oracle Fusion Sales Cloud Service - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
On : 18.104.22.168.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?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms