09-14-2012 05:40 AM
<type name="mywf:documentCheckTask">
<parent>bpm:activitiOutcomeTask</parent>
<properties>
<property name="mywf:docCheckOutcome">
<type>d:text</type>
<default>FAIL</default>
<constraints>
<constraint name="mywf:docCheckOutcomeOptions" type="LIST">
<parameter name="allowedValues">
<list>
<value>OK</value>
<value>FAIL</value>
</list>
</parameter>
</constraint>
</constraints>
</property>
</properties>
<overrides>
<property name="bpm:packageItemActionGroup">
<default>read_package_item_actions</default>
</property>
<property name="bpm:outcomePropertyName">
<default>{http://www.alfresco.org/model/mywf/1.0}mywf:docCheckOutcome</default>
</property>
</overrides>
</type>
<config evaluator="task-type" condition="mywf:documentCheckTask">
<forms>
<form>
<field-visibility>
<show id="bpm:priority" />
<show id="bpm:dueDate" />
<show id="bpm:taskId" />
<show id="bpm:status" />
<show id="packageItems" />
<show id="bpm:comment" />
<show id="mywf:docCheckOutcome" />
</field-visibility>
<appearance>
<set id="" appearance="title" label-id="workflow.set.task.info" />
<set id="info" appearance="title" label-id="workflow.set.task.info"
template="/org/alfresco/components/form/3-column-set.ftl" />
<set id="progress" appearance="title" label-id="workflow.set.task.progress" />
<set id="items" appearance="title" label-id="workflow.set.items" />
<set id="response" appearance="title" label-id="workflow.set.response" />
<field id="bpm:taskId" set="info">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="bpm:priority" set="info" read-only="true">
<control
template="/org/alfresco/components/form/controls/workflow/priority.ftl" />
</field>
<field id="bpm:dueDate" set="info" label-id="workflow.field.due">
<control template="/org/alfresco/components/form/controls/info.ftl" />
</field>
<field id="bpm:status" set="progress" />
<field id="packageItems" set="items" />
<field id="bpm:comment" label-id="workflow.field.comment"
set="response">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="mywf:docCheckOutcome" label-id="workflow.field.outcome"
set="response">
<control
template="/org/alfresco/components/form/controls/workflow/activiti-transitions.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
09-14-2012 07:01 AM
09-14-2012 09:12 AM
workflow.field.outcome.mywf_docCheckOutcome.OK=OK
mywf_workflowmodel.mywf_docCheckOutcomeOptions.OK=OK
listconstraint.mywf_docCheckOutcomeOptions.OK=OK
09-18-2012 04:58 AM
04-25-2013 02:36 AM
06-25-2013 10:17 PM
08-07-2013 05:49 PM
12-19-2014 05:21 AM
12-19-2014 05:24 AM
05-22-2019 12:33 AM
Hi AshwiniS _
If you stilll seek for solution
<property name="bpmutcomePropertyName">
<default>{demoWF.workflowModel}userReviewOutcome</default>
</property>
instead of {demoWF.workflowModel} you will have to pass workflow model URI inside {}.
hi anthonylau
There is mistake in below lines
<property name="bpm:outcomePropertyName">
<default>{http://www.alfresco.org/model/mywf/1.0}mywf:docCheckOutcome</default>
</property>
</overrides>
it suppose to be
<property name="bpm:outcomePropertyName">
<default>{http://www.alfresco.org/model/mywf/1.0}docCheckOutcome</default>
</property>
</overrides>
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.