AnsweredAssumed Answered

Get server name from gelscript

Question asked by Stephane_FR on Mar 27, 2014
Latest reply on Mar 27, 2014 by Dave


We have a process with an action containing gelscript that runs XOG commands.

The problem is that the XOG server is hardly-coded in the gelscript of that process :


<gel:parameter var="hostClarity" default="" />


<soap:invoke endpoint="${hostClarity}/niku/xog" var="auth">


When we copy this process from test environment to production, we need to manually change  this parameter. Is there a way to get the server on which the process is running, for example from a system parameter ? Something like <gel:parameter var="hostClarity" default={$servername}/>

This way, the process could be copied from one environment to another, and ready to be launched without any modification.