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.
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
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.
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.