<?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>topic &amp;quot;Back&amp;quot; outcome for user task with no form validation in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/quot-back-quot-outcome-for-user-task-with-no-form-validation/m-p/31829#M13503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Activiti version 1.6.2 and I have a simple process for approving expenses (see attached ZIP file). The workflow has:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;an "Expenses type" user task, with a form&amp;nbsp;definition associated&amp;nbsp;which includes mandatory fields&lt;/LI&gt;&lt;LI&gt;an "Expenses amount" user task,&amp;nbsp;&lt;SPAN&gt;with a form&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;definition associated which includes mandatory fields&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;an "Expenses approval" user task,&amp;nbsp;&lt;SPAN&gt;with a form&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;definition associated&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have a "Back" outcome for the "Expenses amount" which does not take the form validation for the mandatory field and allows the user to go back to the previous task without typing the amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;can't change the workflow process, neither the form definitions; this is a strictly requirement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2018 10:47:53 GMT</pubDate>
    <dc:creator>gmalanga</dc:creator>
    <dc:date>2018-07-23T10:47:53Z</dc:date>
    <item>
      <title>"Back" outcome for user task with no form validation</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/quot-back-quot-outcome-for-user-task-with-no-form-validation/m-p/31829#M13503</link>
      <description>Hi,I am using Activiti version 1.6.2 and I have a simple process for approving expenses (see attached ZIP file). The workflow has:an "Expenses type" user task, with a form&amp;nbsp;definition associated&amp;nbsp;which includes mandatory fieldsan "Expenses amount" user task,&amp;nbsp;with a form&amp;nbsp;definition associated which inc</description>
      <pubDate>Mon, 23 Jul 2018 10:47:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/quot-back-quot-outcome-for-user-task-with-no-form-validation/m-p/31829#M13503</guid>
      <dc:creator>gmalanga</dc:creator>
      <dc:date>2018-07-23T10:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: "Back" outcome for user task with no form validation</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/quot-back-quot-outcome-for-user-task-with-no-form-validation/m-p/31830#M13504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Logically (though possibly not practically in your case) the only things that could be changed to achieve this would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process definition&lt;/P&gt;&lt;P&gt;Form definition&lt;/P&gt;&lt;P&gt;Process implementation (service tasks, listeners etc.)&lt;/P&gt;&lt;P&gt;UI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you could do something at the UI layer by trying to put together your own stencil (&lt;A href="https://community.alfresco.com/community/bpm/blog/2016/08/31/form-stencils-101" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/community/bpm/blog/2016/08/31/form-stencils-101&lt;/A&gt;&amp;nbsp;) that can perform a back action. I can't think of anything out of the box to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My personal feeling from a quick reading is that going back to a previous task is part of the business logic&amp;nbsp;so it would be better to capture that in the process definition. I know you said there's a strict requirement to not change the process definition but it seems to me that having the option to go back is part of the process so it's more typical to model that explicitly (see&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.alfresco.com/thread/235681-activiti-is-ineffective-in-china-and-hopes-to-attract-official-attention#comment" title="https://community.alfresco.com/thread/235681-activiti-is-ineffective-in-china-and-hopes-to-attract-official-attention#comment" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/thread/235681-activiti-is-ineffective-in-china-and-hopes-to-attract-official-attention#co…&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be possible to&amp;nbsp;make the process&amp;nbsp;jump backwards to a different point&amp;nbsp;at the implementation level like in&amp;nbsp;&lt;A class="link-titled" href="https://www.activiti.org/userguide/?_ga=2.80975511.1253714306.1532335259-901207129.1491583834#serviceTaskExceptionSequenceFlow" title="https://www.activiti.org/userguide/?_ga=2.80975511.1253714306.1532335259-901207129.1491583834#serviceTaskExceptionSequenceFlow" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;&amp;nbsp;. But it's made a bit more difficult for you that you want to do this from a form. I'm not sure what hook you'd be able to use to initiate the backward movement. Maybe you'd have to create one via a stencil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 11:26:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/quot-back-quot-outcome-for-user-task-with-no-form-validation/m-p/31830#M13504</guid>
      <dc:creator>ryandawson</dc:creator>
      <dc:date>2018-07-24T11:26:09Z</dc:date>
    </item>
  </channel>
</rss>

