<?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 How to implement auto approval of forms? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-auto-approval-of-forms/m-p/146279#M102178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone let me know how to implement an auto approval process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, the below custom form should get auto approved and stored in archive based on the request but as of now someone has to get in to the system to approve this task. I am passing the data from source system to activiti (to populate the form) and I need those details for future reporting hence I wont be able to bypass the form without archiving it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to set the value of the field 'approvalConfirmed' to true and call my java class… Can someone let me know how to do that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;userTask id="NoNeedApproval" name="Auto Approval"&lt;BR /&gt;activiti:candidateUsers="${user}" activiti:assignee="${user}"&amp;gt;&lt;BR /&gt;&amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;lt;activiti:formProperty id="test6" name="Needs Approval:"&lt;BR /&gt;expression="${needsApproval}" writable="false" type="boolean" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;activiti:formProperty id="test3" name="Initiator:"&lt;BR /&gt;expression="${initiator}" writable="false" type="string" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;activiti:formProperty id="test3" name="Description:"&lt;BR /&gt;expression="${description}" readable="true" writable="false" type="string" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;activiti:formProperty id="test" name="User:"&lt;BR /&gt;expression="${user}" writable="false" type="string" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;activiti:formProperty id="test2" name="Image:"&lt;BR /&gt;expression="${imageName}" writable="false" type="string" /&amp;gt;&lt;BR /&gt;&amp;lt;activiti:formProperty id="approvalConfirmed"&lt;BR /&gt;name="approvalConfirmed" type="enum" required="true"&amp;gt;&lt;BR /&gt;&amp;lt;activiti:value id="true" name="Yes"&amp;gt;&amp;lt;/activiti:value&amp;gt;&lt;BR /&gt;&amp;lt;activiti:value id="false" name="No"&amp;gt;&amp;lt;/activiti:value&amp;gt;&lt;BR /&gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;&amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;lt;/userTask&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a java class to archive the form but I am not sure how to invoke the class automatically from this user task..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Barani&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2013 23:40:31 GMT</pubDate>
    <dc:creator>bbarani</dc:creator>
    <dc:date>2013-02-26T23:40:31Z</dc:date>
    <item>
      <title>How to implement auto approval of forms?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-auto-approval-of-forms/m-p/146279#M102178</link>
      <description>Hi,Can someone let me know how to implement an auto approval process.For example, the below custom form should get auto approved and stored in archive based on the request but as of now someone has to get in to the system to approve this task. I am passing the data from source system to activiti (to</description>
      <pubDate>Tue, 26 Feb 2013 23:40:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-auto-approval-of-forms/m-p/146279#M102178</guid>
      <dc:creator>bbarani</dc:creator>
      <dc:date>2013-02-26T23:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement auto approval of forms?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-auto-approval-of-forms/m-p/146280#M102179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't need a usertask if the trigger is always from an automatic system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use a wait state (receive task) and call runtimeService.signal() with the id you want to trigger.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 16:00:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-implement-auto-approval-of-forms/m-p/146280#M102179</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-02-28T16:00:30Z</dc:date>
    </item>
  </channel>
</rss>

