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

Passing RTP within a groovy rule calling the REST API to clear cube

Accepted answer
edited Apr 3, 2021 10:40PM in Planning 4 comments


Unable to figure out the correct syntax to pass the rtps into the HashMap - Groovy Business Rule calls "Clear Cube"



I have a groovy rule that calls a Clear Cube job using the REST API without error, which is great.  Now I need to enhance it and leverage run time prompts.  I have two prompts, one for period and the other for year.  I have yet to figure out the correct syntax.
On the line Params.put('members', 'Feb, FY21, No Elements') I would like to replace Feb and FY21 with the variables.
I have tried the following:

Howdy, Stranger!

Log In

To view full details, sign in.


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