Copy All the Worknotes and Comments during ticket creation from third Party application

Vamshi_ch123
Tera Contributor

Hi,

 

When creating a ticket from a third-party application, how can we update all the work notes and comments from their activity log to our ServiceNow instance? This is important because they may have added work notes or comments during ticket creation, and I need to replicate those comments here.

 

Thanks

 

2 REPLIES 2

Tai Vu
Kilo Patron
Kilo Patron

Hi @Vamshi_ch123 

Have you tried the below API?

Method: PUT
URI: https://<instance_name>/api/now/table/{tableName}/{sys_id}
Body:
{
"comments": <comments from third-party app>,
"work_notes: <notes/activity log from the third-party app>
}

And, make sure to use the right user with corresponding roles for the authentication.

 

 

Mathieu Lepoutr
Mega Guru

Hello Vamshi

 

Which 3th party application are you refering to?

If it is one of the applications that Exalate supports, I suggest you have a look at that decentralized integration solution.


It will give granular control over all data that you wish to send and wish to keep.

 

Hope you have a good day