Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Is it possible to run a Groovy rule before load without User Variable error? — 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

Is it possible to run a Groovy rule before load without User Variable error?

92
Views
10
Comments
in Planning 10 comments

Summary:

Unable to execute a script replacing user variables because user variables are missing.

Content (required):

I am trying to execute a script that automatically fills in user variables if they are empty. This is to get around the need of setting user preferences the first time a user logs into the system. I want this script to run before loading data. Even after checking the "Run Before Load" box when designing the form, I get the "..you must select a member for each User Variable.." error. Is there any workaround for this?

Alternatively, a similar script could be run at user creation, but I don't think it is possible to customize scripts that run based on a user signing in for the first time. Any alternative ideas would be very much welcomed :)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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