
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2025 11:50 PM
Hi everyone. Hoping someone can point me in the right direction. I've configured a ServiceNow Agile <-> Azure DevOps integration using the ServiceNow plugin. Everything is working well but the customer has asked if they can change the 'user' who's name appears in ServiceNow when a work note is added from DevOps (this is always system). The only way I know how to do this is have the script that performs the action impersonate a service account at the time of adding the work notes so it appears as that service account rather than system. I don't like the idea of attempting that as it opens up possibilities for errors (account locked out, password changes etc) so I am thinking of just prefixing the inbound work notes with some text like 'Synced from Azure DevOps'.
My question is, does anyone know how the work notes are updated by the inbound payload from DevOps? I've checked script include records, business rules, transform maps, flows etc but cannot find how the payload is coming in or where it is being processed.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2025 12:16 AM - edited ‎04-28-2025 12:17 AM
For anyone that finds themselves with the same requirement, I was able to identify where the inbound work notes are being processed with the assistance of ServiceNow Support. The script include called ADOWebhookEventProcessorUtil has a function called processWorkItemPayload.
else if (snowColumn == "work_notes") {
var prependedText = 'Synced from Azure DevOps: \n\n';
workItemObj[snowColumn] = prependedText + fieldValue;
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2025 12:16 AM - edited ‎04-28-2025 12:17 AM
For anyone that finds themselves with the same requirement, I was able to identify where the inbound work notes are being processed with the assistance of ServiceNow Support. The script include called ADOWebhookEventProcessorUtil has a function called processWorkItemPayload.
else if (snowColumn == "work_notes") {
var prependedText = 'Synced from Azure DevOps: \n\n';
workItemObj[snowColumn] = prependedText + fieldValue;
}