<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Common reusable function, Save  and Submit button</title><link>https://community.appian.com/discussions/f/general/23922/common-reusable-function-save-and-submit-button</link><description>Hello, 
 I am trying to achieve below 2 things and need your help please. My form consists of 5 fields (ClientName, SubmittedBy, SubmittedDate, isSaved, isSubmit) which will be save into to DB table. 
 1. Form is having 2 buttons save and submit. On click</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Common reusable function, Save  and Submit button</title><link>https://community.appian.com/thread/92026?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 14:59:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7bc31ae2-b8ab-4ab0-86c1-cee5e0b9411f</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi, As Stefan said you can loop back your flow based on button value. For example , if user click on save then you can save the data to dab and then add a xor gateway to decide where your flow should be going. If user clicks on save then it will go to form again and if user clicks on submit then it will proceed to other outgoing flow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Common reusable function, Save  and Submit button</title><link>https://community.appian.com/thread/92022?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 13:53:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b740b0cc-b2ec-4dcd-90a6-d9ccea3f1158</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Why so complicated? Just make all the buttons submit and make the process either loop back to the first form or continue in process depending on the button pressed?&lt;/p&gt;
&lt;p&gt;Reusable functions inside saveInto are technically possible, but I rather awkward to use. Especially for less experienced designers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>