<?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 Not able to get values of Enum property in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-get-values-of-enum-property/m-p/81658#M54661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a got a Task form associated with the task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The form has enum type field as&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti:formProperty id="cpApproved" name="Approve Contractor proposal" type="enum" required="false" readable="true" writable="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti:value id="yes" name="Yes"&amp;gt;&amp;lt;/activiti:value&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;activiti:value id="no" name="No"&amp;gt;&amp;lt;/activiti:value&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the listner associated with this task, we are getting form values as below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TaskFormData taskFormdata =new GetTaskFormCmd(task.getId()).execute( Context.getCommandContext() );&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;List&amp;lt;FormProperty&amp;gt; formList= taskFormdata.getFormProperties();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And finaly getting values as&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;formType.getValue();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While it returns values for other fields like date, string correctly, it returns the value of enum field as null. Please suggest how should be value of selected enum value should be fetched.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2012 17:38:25 GMT</pubDate>
    <dc:creator>bhupendra1</dc:creator>
    <dc:date>2012-10-19T17:38:25Z</dc:date>
    <item>
      <title>Not able to get values of Enum property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-get-values-of-enum-property/m-p/81658#M54661</link>
      <description>We have a got a Task form associated with the task.The form has enum type field as&amp;lt;activiti:formProperty id="cpApproved" name="Approve Contractor proposal" type="enum" required="false" readable="true" writable="true"&amp;gt;&amp;lt;activiti:value id="yes" name="Yes"&amp;gt;&amp;lt;/activiti:value&amp;gt;&amp;lt;activiti</description>
      <pubDate>Fri, 19 Oct 2012 17:38:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-get-values-of-enum-property/m-p/81658#M54661</guid>
      <dc:creator>bhupendra1</dc:creator>
      <dc:date>2012-10-19T17:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to get values of Enum property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-get-values-of-enum-property/m-p/81659#M54662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use getInformation()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; @Override&lt;BR /&gt;&amp;nbsp; public Object getInformation(String key) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (key.equals("values")) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return values;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return null;&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 09:24:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-get-values-of-enum-property/m-p/81659#M54662</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-10-22T09:24:08Z</dc:date>
    </item>
  </channel>
</rss>

