How to get incident number in catalog client script using alert message
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2018 01:48 AM
Hello Guys,
I have a doubt.
I have created a record producer to record customer information.
when they submit it i have to pop-up a message saying that this is your incident number.
i did use catalog client script to print alert message but i am not able to retrieve incident number from incident table.
can anyone help me please.
Labels:
- Labels:
-
Service Catalog
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2022 01:43 AM
Record Producer Script:
var link = '<a href="incident.do?sys_id=' + current.sys_id + '" class="breadcrumb" >' + 'Click here to go to the incident.' + '</a>'; var msg = 'Incident: '+ current.number +' is created.<br/>'+ link; gs.addInfoMessage(msg); // Prevent redirection producer.portal_redirect = 'javascript:void(0)'; // : should be replaced by only :