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.

Dynamic Incident Creation via ESC Portal Redirection from Survey Widget – Create Incident

mdshahvez11
Tera Contributor

Hello Everyone ,

What I’m trying to achieve:

I want to allow end users to create a new incident directly from the survey widget (a button embedded on the survey form).

mdshahvez11_0-1753787219692.png

 


Especially when they are not satisfied with the resolution of a previously closed incident.

➡️ When the user clicks “Not satisfied? Create an Incident”, they should be:

  • Redirected to a specific ESC -> Create Incident  on the ESC portal.

    mdshahvez11_1-1753787330387.png

     

    URL (Like) : https://***************.service-now.com/esc?id=esc_sc_cat_item&sys_id=*************a5055a4fefe5e03d678 

  • Also the new incident form pre-filled dynamically with details from the original/previous incident for which the user is creating a new incident (like Short Description, Description, Caller, Assignment Group, Assigned To, etc.).

    So far , I have on click of the button over widget i have redireted the user to Create incident. 

    <div>
    <button class="btn btn-warning" style="margin-top:20px;"
    onclick="window.open('https://***************.service-now.com/esc?id=esc_sc_cat_item&sys_id=****************a5055a4fefe5e03d678')">
    Not satisfied? Create an Incident
    </button>
    </div>

    But how to populate the past incident info on that incident creation page.

0 REPLIES 0