Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

Trying to update Long Text field from a string in Groovy scripting

in Sales 4 comments

Summary:

We have a long text field on the Activity Object.

We want to set this field in Groovy scripting.

We get the error

Cannot assign value of type java.lang.String to variable of type oracle.jbo.domain.ClobDomain

we have tried various approaches without success...

**** Code sample *****

def hash = 'this is the hash string'

Hash_c = hash

**** Error *****

Cannot assign value of type java.lang.String to variable of type oracle.jbo.domain.ClobDomain

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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