<?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 hide form items based on econdition in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173448#M126594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to delete&amp;nbsp; a form item&amp;nbsp; if a certain condition is met?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to execute a listener when a task kicks off that would evaluate whether&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the said item received input in the previous task. If not, I would like to have it hidden/deleted from the current task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so that the placeholder no longer appears on the form for this input item&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Oct 2013 18:35:56 GMT</pubDate>
    <dc:creator>jmzags</dc:creator>
    <dc:date>2013-10-24T18:35:56Z</dc:date>
    <item>
      <title>hide form items based on econdition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173448#M126594</link>
      <description>Is it possible to delete&amp;nbsp; a form item&amp;nbsp; if a certain condition is met?I'd like to execute a listener when a task kicks off that would evaluate whetherthe said item received input in the previous task. If not, I would like to have it hidden/deleted from the current taskso that the placeholder no longe</description>
      <pubDate>Thu, 24 Oct 2013 18:35:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173448#M126594</guid>
      <dc:creator>jmzags</dc:creator>
      <dc:date>2013-10-24T18:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: hide form items based on econdition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173449#M126595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not sure, but can't you set form property readable flag by expression?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 08:01:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173449#M126595</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-10-25T08:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: hide form items based on econdition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173450#M126596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The readable property is a pull down selection of True or False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried entering an expression, ${ccb_pmo} into the&amp;nbsp; field.but it will not save.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone help me with the required syntax to use in a java based listener&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to be executed when this form is called that would ultimately set this field's isReadtable property&amp;nbsp; to its desired setting ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 14:00:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173450#M126596</guid>
      <dc:creator>jmzags</dc:creator>
      <dc:date>2013-10-25T14:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: hide form items based on econdition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173451#M126597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;any suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 12:12:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173451#M126597</guid>
      <dc:creator>jmzags</dc:creator>
      <dc:date>2013-10-28T12:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: hide form items based on econdition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173452#M126598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Java based listener can be found in the doc:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.activiti.org/userguide/#executionListeners" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#executionListeners&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Usually I use scripts to check something quickly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;activiti:taskListener event="complete" class="org.activiti.engine.impl.bpmn.listener.ScriptTaskListener" &amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;activiti:field name="script"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:string&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def bar = "BAR";&amp;nbsp; // local variable&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foo = "FOO"; // pushes variable to execution context&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; task.setOwner("kermit"); // test access to task instance&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bar // implicit return value&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:string&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;activiti:field name="language" stringValue="groovy" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;activiti:field name="resultVariable" stringValue="myVar" /&amp;gt;&lt;BR /&gt;&amp;lt;activiti:taskListener&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 08:52:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173452#M126598</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-10-29T08:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: hide form items based on econdition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173453#M126599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am already using java task listeners across my project, so I don't have an issue with writing/implementing, however I am particularly interested in knowing if there is a way to code the readable attribute of one of the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;form fields to 'false' - as the designer does not allow for an expression which would have been my preferred method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any auggestions are appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 10:03:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173453#M126599</guid>
      <dc:creator>jmzags</dc:creator>
      <dc:date>2013-10-29T10:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: hide form items based on econdition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173454#M126600</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;I am curious if this issue has been addressed, and hopefully solved as I am in need of a way to do the same thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:50:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hide-form-items-based-on-econdition/m-p/173454#M126600</guid>
      <dc:creator>iceman20</dc:creator>
      <dc:date>2014-02-07T16:50:24Z</dc:date>
    </item>
  </channel>
</rss>

