Fetch the value of a substitution variable from a groovy rule — Cloud Customer Connect
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

Fetch the value of a substitution variable from a groovy rule

edited Apr 13, 2020 8:12PM in Planning 8 comments

Summary

Attempting to get the value of a flag (which is a substitution variable) from a groovy rule

Content

Let me start by saying that my groovy knowledge is limited; I'm learning as needed.  I'm attempting to get the value of a substitution variable (flag 1 or 0) from a groovy rule.  If the flag is on/1 then execute a smart push.  I was told to set up a variable in calc manager and set the Default Value to the substitution variable (&VarName).  I cannot get the rule to validate.  I keep getting the following error.  'Error:The Groovy script failed to compile with internal error: Compile Error:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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