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 in parameters to a business rule call via Groovy

edited Jan 23, 2020 8:24PM in Planning 5 comments

Content

Hello,  I have a groovy script that determines a planning member name I would then like to use as a parameter I can pass into a business rule then execute

I know i can use this syntax to call a script but what I'd like to do is pass in a parameter into "Agg Script" which will be used to represent a member in a fix within "Agg Script"

StringBuilder runRule= StringBuilder.newInstance()
runRule <<"""

%Script(name:="Agg Script",application:="Plan",plantype:="Plan")

return runRule

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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