AnsweredAssumed Answered

Workflow Due Date is coming as none on Edit Task form

Question asked by dnhatsave on Mar 13, 2019
Latest reply on Mar 14, 2019 by dnhatsave

Hi all, recently I've custom new workflow and a have serious problems while edit a task, the due date come as none.

Let me share whit you a bit of my code:

 

!-- Activiti Parecer Workflow Definition -->
   <config evaluator="string-compare" condition="activiti$activitiParecer">
      <forms>
         <form>
            <field-visibility>
               <show id="bpm:workflowDescription" />
               <show id="cedsif:mensagem"/>
               <show id="bpm:workflowDueDate" />
               .
               .
               .
            </field-visibility>
            <appearance>
               .
               .
               .
           
               <field id="bpm:workflowDueDate" label-id="workflow.field.due" set="info">
                  <control template="/org/alfresco/components/form/controls/date.ftl">
                      <control-param name="showTime">false</control-param>
                      <control-param name="submitTime">false</control-param>
                  </control>
               </field>
               .
               .
            </appearance>
         </form>
      </forms>
   </config>

 

    
    <!-- Submeter Parecer -->>
     <config evaluator="task-type" condition="cedsif:submitParallelReviewTask">
      <forms>
      .
      .
         <form>
            <field-visibility>
               
               <show id="bpm:workflowDueDate" />
               .
               .
            </field-visibility>
            <appearance>
               .
               .
               .
            </appearance>
         </form>
      </forms>
   </config>


       <!--  Activiiti Parecer Task -->
   <config evaluator="task-type" condition="cedsif:activitiReviewTask">
      <forms>
         <form>
            <field-visibility>
            .
            .
            .
               <show id="bpm:dueDate" />
               .
               .
            </field-visibility>
            <appearance>
            .
            .
            .
               <field id="bpm:dueDate" set="info" label-id="workflow.field.due">
                  <control template="/org/alfresco/components/form/controls/info.ftl" />
               </field>
               .
               .
               .
            </appearance>
         </form>
      </forms>
   </config>

 

 

I'm confused, when i use bpm:workflowDueDate and bpm:dueDate, That may be the reason for my mistake? if that's how I correct it.

 

Best Regards.

Outcomes