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
12
Views
6
Comments
edited Jun 3, 2021 12:29AM in Planning 6 comments

Summary

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

Content

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.

Register

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