Issue with Submit Button Message Trigger in ServiceNow Order Guide
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hello,
I have an order guide that contains multiple service requests. I created a client script on the Submit button to display a message after the user submits the request. However, the message is being triggered when the user clicks the Next button instead of after actual submission.
Here is the client script. Can someone help?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4m ago
Hi @EricaT_
Option 1 : Create onSubmit script to the specific Catalog Item(s) within the Order Guide instead of writing it in order guide.
Option2: You can try with
- Create an async or after , Insert BR on sc_req_item table.
- Use gs.addInfoMessage() to display the message to the user after the records are successfully inserted