Error on Groovy error Message: expected type found .
SummaryConverting 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: