AnsweredAssumed Answered

Custom Workflow - Custom Form

Question asked by elboukhari on Jun 6, 2017
Latest reply on Jun 7, 2017 by elboukhari

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 !

Outcomes