Workflow Due Date is coming as none on Edit Task form

cancel
Showing results for 
Search instead for 
Did you mean: 
dnhatsave
Active Member II

Workflow Due Date is coming as none on Edit Task form

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.
2 Replies
krutik_jayswal
Senior Member II

Re: Workflow Due Date is coming as none on Edit Task form

As far as i know, workflow can have many task.So each task will have their own duedate and as there will be deadline of full workflow process as well so for that workflow due date is used.

Due Date of Particular Task :   bpm:dueDate

Due Date of Particular Workflow: bpm:workflowDueDate

dnhatsave
Active Member II

Re: Workflow Due Date is coming as none on Edit Task form

I appreciate your explanation Krutik Jayswal‌ but I'm still confused.

in my custom workflow I've use bpm:workflowDueDate only  on these forms "activiti$activitiParecer" "submitParallelReviewTask2" on other forms I've use the bpm:dueDate.

the problem is when i Edit my task, the due date coming as none , but at the workflow history the due date is shown.