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 ActivityDescription CLOB to text in Groovy Script

Accepted answer
in Sales 4 comments


We are trying to gather the ActivityDescription in a Groovy script to parse to an external system via Web Service.

The issue we encounter is that ActivityDescription is a CLOB. We need to be able to convert this to text in order to build our payload for the external web service.

Code Snippet (add any code snippets that support your topic, if applicable):

def subject = Subject;

def text = ActivityDescription //is a CLOB that needs to be converted to string - throws error

def POST_param =





    to: to,

    cc: cc,



    saveToSentItems: true

Howdy, Stranger!

Log In

To view full details, sign in.


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