Set bpm:dueDate as mandatory-aspect

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

Set bpm:dueDate as mandatory-aspect

Jump to solution

Hello, can i set bpm:dueDate as mandatory-aspect in workflowModel file?

I tried

<mandatory-aspects>
                <aspect>bpm:workflowDueDate</aspect>
</mandatory-aspects>
and 
<mandatory-aspects>
                <aspect>bpm:dueDate</aspect>
</mandatory-aspects>
But i got an error: 
Mandatory aspect 'bpm:workflowDueDate' of class 'scwf:reviewCommentTaskVision' is not found
 
1 Solution

Accepted Solutions
abbask01
Senior Member

Re: Set bpm:dueDate as mandatory-aspect

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

 

Regards,
Abbas

View solution in original post

2 Replies
sanjaybandhniya
Intermediate

Re: Set bpm:dueDate as mandatory-aspect

Jump to solution

Hi,

Are you trying to apply mandatory aspect in existing workflow?

abbask01
Senior Member

Re: Set bpm:dueDate as mandatory-aspect

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

 

Regards,
Abbas