Can response message can be removed from work-notes on incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2024 08:17 AM
Generally the api failed response message, code and other details gets updated on the work notes of the related incidents
Now we have a requirement that if the response message contains example "ABC" then work notes should be updated with a different warning message.
Can anyone suggest how to achieve this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2024 09:56 AM
I suggest you break this down into the below:
- First, identify where is the configuration/code that updates the worknotes with API response
- Next, try and log out the message attribute in the response in that piece of code.
- Finally, use an if condition to check the message and the display appropriate alternative worknote.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2024 10:27 AM
find the line where response is being assigned to work notes field in code and change the line to desired warning message . if you can share code may be i can give you better answer by doing modifications in the code .