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

Visit Redwood Community
Error on Groovy error Message: expected type found . — 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

Error on Groovy error Message: expected type found .

Received Response
edited Jun 3, 2021 12:29AM in Planning 6 comments


Converting rule to groovy rule. Rule fails to write RTP value to member. Trying to write text string entered through RTP on Action Menu


I have a working rule which writes comments entered as a runtime prompt variable to an account.

The rule is called from an Action Menu and text values entered via RTP.

I need to convert the rule to groovy.

RPT is set to StringAsNumber and the Account is set to Text.

When I convert the rule to groovy it fails with this error expected type [NUMBER] found [STRING].    

Any suggestions would be appreciated.

Here is a summarized rule:

Howdy, Stranger!

Log In

To view full details, sign in.


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