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

How to convert string datatype to CLOB in Groovy Script?

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!