Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Create Problem from incident after confirmation

RunsumS
Tera Contributor

I have requirement to create problem from incident. I know there is out of the box button is there but that is not asking for conformation. Upon confirmation given only problem should get created. i have created new ui action for same but both ui action is visible on form.

 

Help please

1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

Hi @RunsumS ,

Do the following 

  • You can create new ui action with same action name as exiting one.
  • make ui action client callable while checking the checkbox client
  • call one function from client callable field 
  • in script create same function and use “confirm()” function and store the result in one variable.
  • Now check if (confirm) then call server side script while invoking gsftsubmit()
  • Pass the form action name along with other parameters 

 

Please accept the solution if it helped.

 

View solution in original post

1 REPLY 1

Runjay Patel
Giga Sage

Hi @RunsumS ,

Do the following 

  • You can create new ui action with same action name as exiting one.
  • make ui action client callable while checking the checkbox client
  • call one function from client callable field 
  • in script create same function and use “confirm()” function and store the result in one variable.
  • Now check if (confirm) then call server side script while invoking gsftsubmit()
  • Pass the form action name along with other parameters 

 

Please accept the solution if it helped.