06-06-2017 03:02 AM
Hi,
I create a custom workflow.
If my understand is right, my custom form MUST have a parent.
In my case :
****Model.xml
<types>
<type name="scwf:submitMyCustomTask">
<parent>bpm:startTask</parent>
<properties>....
But I need to hide some of the fields of startTask.
share-custom-config.xml
<config evaluator="string-compare" condition="activit$MyCustomActivit">
<forms>
<form>
<field-visibility>
<hide id="bpm:status" />
But it dosn't work !
I try to add :
<config evaluator="task-type" condition="bpm:startTask" replace="true">
...
<form>
<field-visibility>
<show id="message" />
<show id="taskOwner" />
<hide id="bpm:workflowPriority" />
<hide id="bpm:workflowDueDate" />
<show id="bpm:taskId" />
<hide id="bpm:status" />
<hide id="packageItems" />
<show id="bpm:sendEMailNotifications" />
</field-visibility>
Also dosn't work !!
1. Any one knows how to mask/hide/remove fields from parent task ?
2. Is there any way to NOT use parent task ?
Thanks a lot !
06-07-2017 08:01 AM
I resolve the problem like this
<config evaluator="string-compare" condition="activit$MyCustomActivit" replace="true">
06-06-2017 06:09 AM
In your custom form config, under <field-visibility> , try adding only those fields that you want to show using <show> tag.
For eg <show id="xyz" />
06-06-2017 07:33 AM
Thank you for u response.
I had tried it before, but it does not work.
06-07-2017 08:01 AM
I resolve the problem like this
<config evaluator="string-compare" condition="activit$MyCustomActivit" replace="true">
Explore our Alfresco products with the links below. Use labels to filter content by product module.