Passing RTP within a groovy rule calling the REST API to clear cube
SummaryUnable 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: