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 !
Solved! Go to Solution.
I resolve the problem like this
<config evaluator="string-compare" condition="activit$MyCustomActivit" replace="true">
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" />
Thank you for u response.
I had tried it before, but it does not work.
I resolve the problem like this
<config evaluator="string-compare" condition="activit$MyCustomActivit" replace="true">
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.