You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Can I use a range of Periods in a groovy script that pass parameters to Data Maps

Summary: I need to use a range of Periods in a groovy script that pass parameters to Data Maps


Content (required):

I wrote the following groovy script to pass parameters to Data Maps

/* RTPS:{rtpExpYear1}{rtpStartMonth}*/

if(operation.application.hasDataMap("DM_MRCalc_to_DFSRptg"))

   operation.application.getDataMap("DM_MRCalc_to_DFSRptg").execute([Scenarios: rtps.rtpPlnFcstScenario.enteredValue, Years:rtps.rtpExpYear1.enteredValue,YearTotal:rtps.rtpStartMonth.enteredValue],true).

I need to change YearTotal:rtps.rtpStartMonth.enteredValue to be a range YearTotal:rtps.rtpStartMonth.enteredValue:[Dec]. It did not like any of the variations of syntax I tried.

Is there a way to convert

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!