- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 11:43 AM
Create a new button "Create Change Request" on the incident form, upon clicking on that a Yes / No popup should appear and upon clicking YES a change request will have to be created against the incident.(Depends on Ui Actions, Ui Page and Angular.js).
I'm new to Service Now , I need a answer for this question?. Please can anybody help me.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 01:24 PM
Hi Hareesh,
You can use something as below
Action Name: moveahead
onclick: valconfirm();
with below code
//for client end
function valconfirm()
{
var ans=confirm('Do you want to proceed');
if(ans==true)
{
gsftSubmit(gel('moveahead'));
}
else{
return false;
}
}
//for server side
createchange();
function createchange();
{
//code for insertion of change in change table
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 01:24 PM
Hi Hareesh,
You can use something as below
Action Name: moveahead
onclick: valconfirm();
with below code
//for client end
function valconfirm()
{
var ans=confirm('Do you want to proceed');
if(ans==true)
{
gsftSubmit(gel('moveahead'));
}
else{
return false;
}
}
//for server side
createchange();
function createchange();
{
//code for insertion of change in change table
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2017 04:25 AM
Hi Jaspal singh,
Thank you for your reply.
Regards,
K.Hareesh Reddy.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2017 04:33 AM
Hi Hareesh,
If the above solution worked you can mark this thread as correct & close it so that it does not appear in unanswered list.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2017 09:42 PM
Hi Jaspal,
Where I should put these codes?
In UI Page or in some where else?
Regards,
Sudipta Pattnayak