Can we send a Journal type Field 'Work Notes' in Json format ?

SAS21
Tera Guru

Need to check the list of comments from the Work notes and Send the latest comment from it via API in Json format

How can we implement this ?  

 

Appreciate the Help!

3 REPLIES 3

Prince Arora
Tera Sage
Tera Sage

@SAS21 

 

Where do you want to send it?

Is there any third party integration?

Do you want to send it from the ServiceNow?

 

Could you please explain more?

Hi Prince,

Yes already there is an existing Integration in the Servicenow instance, but have to include the new field 'Worknotes'  in the JSON. Can we send Worknotes (journal type) field as a string ?  and How to send only the latest comment from the list of all comments and in the below format? 

For Eg comment from Worknotes : 

02/13/2024 04:32:09 - Bhavana
(Response)
Hi User,
Checking for comments.

 

JSON should be 02/13/2024 04:32:09 - Bhavana\n( Response)\nHi User,\n Checking for comments.

Community Alums
Not applicable