10-01-2020 06:40 AM
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:
10-05-2020 06:18 AM
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> . .
10-04-2020 05:00 AM
Hi,
Are you trying to apply mandatory aspect in existing workflow?
10-05-2020 06:18 AM
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> . .
Explore our Alfresco products with the links below. Use labels to filter content by product module.