How to auto submit the catalog form (create incident) when user click on URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 05:13 AM
Dear Community,
I have created service catalog form through record producer on incident table to create incident with pre-populated information.
What i am trying to achieve is, when an end user load this form URL - https://dev181595.service-now.com/sp?id=sc_cat_item&sys_id=cc31d2dec3bc96103ed63942b4013147&sysparm_...
the form should auto submit and create an incident instead of user clicks on submit button.
I have tried catalog client script, type -onload but it is not helping me. Can someone help me how can i get this outcome , am i missing something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2024 06:51 AM
so when user clicks that link the variables on that item are auto populated and you want the form to be auto submitted?
if yes then that's possible
you can use the onLoad catalog client script to auto populate and submit via script
check this link and it has the solution
How to validate before onSubmit in Mobile/Service Portal
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2024 12:05 AM
Dear Ankur,
Yes, correct we want when user clicks on link the variables on items are auto populated. The auto population is working fine but only auto submission is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 06:27 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 01:04 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader