Groovy doesnt recognise StringasNumber RTP
Summary:
Hi There,
I am trying to convert a script into Groovy, which returns an audit stamp for the time, date and the user when the rule was ran.
While everything is working fine, for some reason it is not recognising the RTP which I have set up for User Name, which is in StringAsNumber format.
The RTP which I set up:
Groovy Script:
/*RTPS: {Tar_Ver} {Tar_Sce} {UName}*/
Cube cube = operation.application.getCube("OPS_WS")
Dimension targetVersion = operation.application.getDimension("Version", cube)
Dimension targetScenario = operation.application.getDimension("Scenario", cube)
String Version = rtps.Tar_Ver.getEnteredValue()
String Scenario = rtps.Tar_Sce.getEnteredValue()
Tagged:
0