- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2019 07:33 AM
I have a UI Action to copy a task. It calls a script include with the following code:
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2019 08:01 AM
Service Now support informed me there is no way to read/display the return message from a script include. I only have access to the record in hand. They suggested I create a column and write the response in it to display.
Since I am creating a copied task, I chose to write to the correlation_id column then display that in the Success Message. Not ideal because the message is only displayed for 5 seconds. I'll just need to inform my end users to quickly write it down or memorize it as there is no copy/paste in this app (what's up with that!?!).
Success message = {{correlation_id}}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2019 08:01 AM
Service Now support informed me there is no way to read/display the return message from a script include. I only have access to the record in hand. They suggested I create a column and write the response in it to display.
Since I am creating a copied task, I chose to write to the correlation_id column then display that in the Success Message. Not ideal because the message is only displayed for 5 seconds. I'll just need to inform my end users to quickly write it down or memorize it as there is no copy/paste in this app (what's up with that!?!).
Success message = {{correlation_id}}