04-14-2011 04:30 AM
<type name="wfTria:qualificaPM">
<parent>bpm:workflowTask</parent>
<properties>
<property name="wfTria:what">
<title>Descrizione</title>
<type>d:text</type>
<mandatory>false</mandatory>
<multiple>false</multiple>
</property>
</properties>
</type><config evaluator="node-type" condition="wfTria:qualificaPM" replace="true" >
<property-sheet>
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
<show-property name="wfTria:what" component-generator="TextAreaGenerator"/>
</property-sheet>
</config>
<show-property name="wfTria:what" component-generator="TextAreaGenerator" read-only="true"/>
<event type="task-create">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<runas>admin</runas>
<script>
<variable name="wfTria_what" access="write"></variable>
<variable name="nomeProgetto" access="read"></variable>
<variable name="what" access="read"></variable>
<expression>
taskInstance.description = nomeProgetto;
wfTria_what = what;
</expression>
</script>
</action>
</event>Inside the Alfresco wf task the property is not define correctly, but if I remove the read-only = "true" it is populated correctly but NOT in read-only mode.04-14-2011 09:36 AM
04-15-2011 11:11 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.