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

Visit Redwood Community
How to convert string datatype to CLOB in Groovy Script? — 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

How to convert string datatype to CLOB in Groovy Script?

Accepted answer
43
Views
1
Comments
edited May 16, 2022 9:56AM in Sales 1 comment

**This post was created as part of a How to Service Request (SR)


Release:

22.04

Summary of the question:

How to convert string datatype to CLOB in groovy script?

Ex:

Need convert this below String to CLOB.

def message = 'Return Pnumber '+pNumber+' and return Serial number '+srNum+' don\'t match';

User will be storing this message in another variable of type CLOB and using it, like passing this message variable to another function as shown below and then inside of this function, use this message.

def message = 'Return Pnumber '+pNumber+' and return Serial number '+srNum+' don\'t match';

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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