
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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:
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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> . .
Abbas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2020 05:00 AM
Hi,
Are you trying to apply mandatory aspect in existing workflow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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> . .
Abbas
