Hello, can i set bpm:dueDate as mandatory-aspect in workflowModel file?
I tried
<mandatory-aspects> <aspect>bpm:workflowDueDate</aspect> </mandatory-aspects>
<mandatory-aspects> <aspect>bpm:dueDate</aspect> </mandatory-aspects>But i got an error:
Solved! Go to Solution.
this is because you are trying to make a property (bpm:workflowDueDate & bmp:dueDate), a mandatory aspect, what you need is to define bpm:dueDate in your custom task type definition as mandatory. like -
. . <type name="bpm:myTask"> <parent>bpm:workflowTask</parent> . . <properties> . . <property name="bpm:dueDate"> <type>d:date</type> <mandatory>true</mandatory> </property> . .
Hi,
Are you trying to apply mandatory aspect in existing workflow?
this is because you are trying to make a property (bpm:workflowDueDate & bmp:dueDate), a mandatory aspect, what you need is to define bpm:dueDate in your custom task type definition as mandatory. like -
. . <type name="bpm:myTask"> <parent>bpm:workflowTask</parent> . . <properties> . . <property name="bpm:dueDate"> <type>d:date</type> <mandatory>true</mandatory> </property> . .
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
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.