<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How do I create two custom Save &amp;amp; Submit buttons that bypass the global UI Actions? in SysAdmin forum</title>
    <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232537#M17810</link>
    <description>&lt;P&gt;Hello &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/805305"&gt;@ChuanYanF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think you should modify this global submit update and save buttons - they are used at way tooo large scale and modifying them can have cascading effect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead create custom button and add appropriate conditions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you break down precisely - when do you want submit button - from when till when ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And when do you want update button - from when till when ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Shivalika&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My LinkedIn - &lt;A href="https://www.linkedin.com/in/shivalika-gupta-540346194" target="_blank"&gt;https://www.linkedin.com/in/shivalika-gupta-540346194&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My youtube - &lt;A href="https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOw" target="_blank"&gt;https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOw&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;NeEISQCY&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Apr 2025 06:59:10 GMT</pubDate>
    <dc:creator>Shivalika</dc:creator>
    <dc:date>2025-04-09T06:59:10Z</dc:date>
    <item>
      <title>How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232522#M17808</link>
      <description>&lt;H5&gt;Dear experts,&lt;/H5&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;For my risk event form, I want to create a custom save button when clicked it will erase the assigned_to field in the risk event form, where the submit button will proceed with the risk event form submission that will prompt to the defined user in the assigned_to field. Currently, the submit button will only appear in the first submission of the form, so if we submit for the first time even though there is no assigned_to defined, when we log back in to the risk event record, the submit button is gone and it will be replaced with the update button. To make sure the submit button is always present before the assigned_to is defined, how do we make it happen? So my requirement now is to have two buttons at the first creation of the risk event record, Save and Submit buttons. I have created an onLoad script, where when user creates a new risk event form, the system will autopopulate the assigned_to field. Both of this state of the risk event will still remain as "New". So after I save and I go back to the record, the risk event form should still has the two save and submit button still and their function still the same as mentioned above until it is submitted to the defined user in the assigned_to field. Currently, the submit and update buttons are using the global one that is in the screenshots below, if I create new ui actions will it bypass the Global Ui Action or should I add in my conditions in the global ui actions script or what can I do in this case? Please advise, thank you.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChuanYanF_0-1744181480279.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/433562iF87F0E8CC642F9D4/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ChuanYanF_0-1744181480279.png" alt="ChuanYanF_0-1744181480279.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Apr 2025 06:51:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232522#M17808</guid>
      <dc:creator>ChuanYanF</dc:creator>
      <dc:date>2025-04-09T06:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232533#M17809</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/805305"&gt;@ChuanYanF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;simply override those 2 buttons by changing the table to your table and click &lt;STRONG&gt;Insert and Stay&amp;nbsp;&lt;/STRONG&gt;on Right Click -&amp;gt; Form Header&lt;/P&gt;
&lt;P&gt;If my response helped please mark it correct and close the thread so that it benefits future readers.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 06:57:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232533#M17809</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-04-09T06:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232537#M17810</link>
      <description>&lt;P&gt;Hello &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/805305"&gt;@ChuanYanF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think you should modify this global submit update and save buttons - they are used at way tooo large scale and modifying them can have cascading effect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead create custom button and add appropriate conditions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you break down precisely - when do you want submit button - from when till when ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And when do you want update button - from when till when ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Shivalika&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My LinkedIn - &lt;A href="https://www.linkedin.com/in/shivalika-gupta-540346194" target="_blank"&gt;https://www.linkedin.com/in/shivalika-gupta-540346194&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My youtube - &lt;A href="https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOw" target="_blank"&gt;https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOw&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;NeEISQCY&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 06:59:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232537#M17810</guid>
      <dc:creator>Shivalika</dc:creator>
      <dc:date>2025-04-09T06:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232544#M17811</link>
      <description>&lt;P&gt;Thks for the clarification Shivalika, so to break it down more granularly as you can see the screenshot here is how the risk event form initially looks like when users are creating a new risk event record.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChuanYanF_0-1744182054657.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/433569iCB542BBF1FEC82BA/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ChuanYanF_0-1744182054657.png" alt="ChuanYanF_0-1744182054657.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So instead of just the Submit button, I wish to add in another button called Save as Draft button next to the Submit button. Currently the risk event form will autopopulate the assigned_to field based on the opened_by user's manager. So the function of the Save as Draft button should be erasing the assigned_to field values and saves the risk event record to not assigned the risk event to anyone, whereas the Submit button will work normally to submit the risk event form as well as making sure the assigned_to field has values inside it and submit the risk event form and assigned to destinate owners. So this two button will appear until the event is successfully assigned to a user, both Save as Draft and Submit button.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 07:05:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232544#M17811</guid>
      <dc:creator>ChuanYanF</dc:creator>
      <dc:date>2025-04-09T07:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232553#M17812</link>
      <description>&lt;P&gt;So after assigning to a user or a owner for the risk event, then the two buttons which are the save as draft button and the submit button will dissapear and replace with the Update button which is in the global ui action.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 07:08:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232553#M17812</guid>
      <dc:creator>ChuanYanF</dc:creator>
      <dc:date>2025-04-09T07:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232556#M17813</link>
      <description>&lt;P&gt;Okehh &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/805305"&gt;@ChuanYanF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Got it !! So just one more save as draft button is required and it will be visible when record is new. And Submit button will just make sure that assigned to is not empty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So here, create a new Save as Draft button and for Submit button just do "Insert and stay" and apart from that add another condition that assigned to is not empty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the save as draft , just create in the table uo action as usual - check the form button, client checked and function on client side below &lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_down:"&gt;👇&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function onClick() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; g_form.setValue('assigned_to', '');&lt;/P&gt;&lt;P&gt;&amp;nbsp; g_form.save();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now for the submit button just add another condition, if(g_form.getValue('assigned_to')=='')&amp;nbsp;&lt;/P&gt;&lt;P&gt;{//g_form.addErrormessage();&lt;/P&gt;&lt;P&gt;return; //IMPortant so that nothing saves. }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please make these modifications and share screenshot of stuck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Shivalika&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My LinkedIn - &lt;A href="https://www.linkedin.com/in/shivalika-gupta-540346194" target="_blank"&gt;https://www.linkedin.com/in/shivalika-gupta-540346194&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My youtube - &lt;A href="https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwNeEISQCY" target="_blank"&gt;https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwNeEISQCY&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 07:16:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232556#M17813</guid>
      <dc:creator>Shivalika</dc:creator>
      <dc:date>2025-04-09T07:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232574#M17815</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/805305"&gt;@ChuanYanF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think it's a valid business requirement to just have 1 button to clear the Assigned to field and save the form.&lt;/P&gt;
&lt;P&gt;Please discuss this with your customer&lt;/P&gt;
&lt;P&gt;If my response helped please mark it correct and close the thread so that it benefits future readers.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 07:30:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232574#M17815</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-04-09T07:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232584#M17816</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/805305"&gt;@ChuanYanF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a process consultant, you might want to ask the client about the value they are looking to achieve. I understand you have a use case, &lt;STRONG&gt;but is this the only valid way to solve the issue?&lt;/STRONG&gt; Creating custom UI actions and replacing them with global or out-of-the-box UI actions could lead to problems during upgrades and in the future when maintenance is required. Therefore, I wouldn't recommend creating two custom UI actions with the same name as needed. You should explore alternative solutions. Avoid increasing technical debt. You may find a solution now, but consider the long-term impact, not just the immediate fix&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 07:33:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232584#M17816</guid>
      <dc:creator>Dr Atul G- LNG</dc:creator>
      <dc:date>2025-04-09T07:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232614#M17817</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/805305"&gt;@ChuanYanF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just tried this refer below screenshots, but I don;t think we will be able to keep the "UNSAVED RECORD" I mean "where shall we redirect after clicking on - //save as draft// - this question is stumping me even when I am implementing it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer below screenshots-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)SAve as Draft appearing only in new records - - this is ok&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shivalika_0-1744184596646.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/433587i44B71D372FCC278C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shivalika_0-1744184596646.png" alt="Shivalika_0-1744184596646.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not in existing records -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shivalika_1-1744184654724.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/433588i8528CB9F0FB87FB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shivalika_1-1744184654724.png" alt="Shivalika_1-1744184654724.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)UI Action&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shivalika_2-1744184723136.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/433589i38BD8BC69773A98E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shivalika_2-1744184723136.png" alt="Shivalika_2-1744184723136.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shivalika_3-1744184737320.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/433590i16F51F314A6CAEB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Shivalika_3-1744184737320.png" alt="Shivalika_3-1744184737320.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But after I click on the button it has no exact record to redirect to because nothing is saved. This is the technical stump.&amp;nbsp;&lt;STRONG&gt;This is not feasible, hence. You may open a servicenow case to verify this.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kindly accept this as solution if it helped you in anyway, so that my efforts can be recognized and also future readers with same query would no why its not possible.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Shivalika&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My LinkedIn -&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.linkedin.com/in/shivalika-gupta-540346194" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.linkedin.com/in/shivalika-gupta-540346194&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My youtube -&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwNeEISQCY" target="_blank" rel="nofollow noopener noreferrer"&gt;https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwNeEISQCY&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 07:47:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232614#M17817</guid>
      <dc:creator>Shivalika</dc:creator>
      <dc:date>2025-04-09T07:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232670#M17819</link>
      <description>&lt;P&gt;Hi Shivalika, thanks for the reply but I managed to solve the issue using my approach as below:&lt;/P&gt;&lt;P&gt;So I have created two new button one is Save as Draft and one is Submit to Assigned and also a new flag field in the risk event form called u_submitted.&lt;BR /&gt;Save as Draft code and condition:&lt;BR /&gt;Condition:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;current.state == 1 &amp;amp;&amp;amp; !current.u_submitted&lt;/LI-CODE&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;current.assigned_to = '';
current.update(); // Use update so record isn't considered "submitted"
action.setRedirectURL(current); // Stay on the same record after save&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Submit to Assigned:&lt;BR /&gt;Condition:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(current.assigned_to != null || !gs.nil(current.assigned_to)) &amp;amp;&amp;amp; current.state == 1 &amp;amp;&amp;amp; !current.u_submitted&lt;/LI-CODE&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-CODE lang="javascript"&gt;current.u_submitted = true;

if (current.isNewRecord()) {
    current.insert();
} else {
    current.update();
}

action.setRedirectURL(current);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for the global Ui action I did not delete or remove but added in one condition which is to exclude the sn_risk_advanced_event table only which is this condition:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;current.getTableName() != 'sn_risk_advanced_event'&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 09 Apr 2025 08:28:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232670#M17819</guid>
      <dc:creator>ChuanYanF</dc:creator>
      <dc:date>2025-04-09T08:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232673#M17820</link>
      <description>&lt;P&gt;Thks for the advise Atul, I am grateful for your words of wisdom and your experience sharing but this is what we have come to a conclusion after getting their requirements. So this is all we can do is to follow their requirements in the meantime.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 08:30:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232673#M17820</guid>
      <dc:creator>ChuanYanF</dc:creator>
      <dc:date>2025-04-09T08:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232679#M17821</link>
      <description>&lt;P&gt;Yesss &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/805305"&gt;@ChuanYanF&lt;/a&gt;&amp;nbsp;Niceeee!!&amp;nbsp; getTableName was the condition I also applied. But what is happening in redirect ? You didn't want to save right ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then when there is no saved record where is it going after redirect ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Shivalika&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My LinkedIn - &lt;A href="https://www.linkedin.com/in/shivalika-gupta-540346194" target="_blank" rel="noopener"&gt;https://www.linkedin.com/in/shivalika-gupta-540346194&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My youtube - &lt;A href="https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwNeEISQCY" target="_blank" rel="noopener"&gt;https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwNeEISQCY&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 08:40:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232679#M17821</guid>
      <dc:creator>Shivalika</dc:creator>
      <dc:date>2025-04-09T08:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232696#M17823</link>
      <description>&lt;P&gt;It will redirect to all the risk events opened by the user, but yes the record is saved but not assigned to anyone and that is what i wanted the result to be.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 08:53:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232696#M17823</guid>
      <dc:creator>ChuanYanF</dc:creator>
      <dc:date>2025-04-09T08:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create two custom Save &amp; Submit buttons that bypass the global UI Actions?</title>
      <link>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232705#M17824</link>
      <description>&lt;P&gt;Hello &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/805305"&gt;@ChuanYanF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then that's what I have also done, in the referenced screenshots. You can accept my solution also , it's 100% working as seen in screenshots. I thought you didn't want to save &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;. But then it's fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Shivalika&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My LinkedIn - &lt;A href="https://www.linkedin.com/in/shivalika-gupta-540346194" target="_blank"&gt;https://www.linkedin.com/in/shivalika-gupta-540346194&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;My youtube - &lt;A href="https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwN" target="_blank"&gt;https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwN&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;eEISQCY&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 08:57:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/sysadmin-forum/how-do-i-create-two-custom-save-amp-submit-buttons-that-bypass/m-p/3232705#M17824</guid>
      <dc:creator>Shivalika</dc:creator>
      <dc:date>2025-04-09T08:57:09Z</dc:date>
    </item>
  </channel>
</rss>

