JBoss Community

Business Calendar - Saturday Working Day

created by Adwait Chitaley in jBPM - View the full discussion

The following is the content of my jbpm.businesscalendar.cfg.xml



<?xml version="1.0" encoding="UTF-8"?>
<jbpm-configuration xmlns="http://jbpm.org/xsd/cfg">
    <process-engine-context>
        <business-calendar>
            <monday    hours="9:00-12:00 and 12:30-17:00"/>
            <tuesday   hours="9:00-12:00 and 12:30-17:00"/>
            <wednesday hours="9:00-12:00 and 12:30-17:00"/>
            <thursday  hours="9:00-12:00 and 12:30-17:00"/>
            <friday    hours="9:00-12:00 and 12:30-17:00"/>
            <saturday  hours="9:00-12:00 and 12:30-17:00"/>
            <!--<holiday period="01/09/2010 - 30/09/2010"/>-->
        </business-calendar>
    </process-engine-context>
</jbpm-configuration>

 

We require SATURDAY as a working day.

 

I have therefore appended saturday as a working day above, which, in the example in User Guide was restricted upto Friday only.

 

When I execute the above settings and specify duedate="2 business hours" in a task, saturday is not considered as a working day.

 

1) Is the method of including Saturday as a working day specified above incorrect?

 

2) In what manner can the above be accomplished?

 

 

Thanks in advance.

 

Adwait Chitaley

Reply to this message by going to Community

Start a new discussion in jBPM at Community