BPM, Workflow, and Case

 View Only
  • 1.  Which holiday schedule is used if timeSchedule.excludeHolidays is true?

    Posted Wed January 18, 2023 11:03 AM
    Hi All,

    There is a property in thte TWTimeSchedule BO: excludeHolidays. When we turn it on (it is true), which holiday schedule will be used? Where from gets the system the holidays when we use the time schedule?

    Thx,

    ------------------------------
    Laszlo
    ------------------------------


  • 2.  RE: Which holiday schedule is used if timeSchedule.excludeHolidays is true?

    IBM Champion
    Posted Thu February 02, 2023 11:35 PM
    Hello Laszlo,

    There are few predefined time schedule provided by BAW but there is no predefined holiday schedule, so even if you set that excludeHolidays variable to true, it does not affect anything.
    If required, you can define a holiday schedule using tw.system.addHolidaySchedule() and use that in your process.

    Holiday schedules and time schedules are stored in LSW_HOLIDAY_SCHEDULE and LSW_TIME_SCHEDULE tables respectively.

    How to create holiday schedule - https://www.ibm.com/docs/en/bpmoc?topic=SS964W/com.ibm.wbpm.wle.editor.doc/topics/managing_time_and_holiday_schedules.htm

    Thanks!



    ------------------------------
    Atanu Roy
    Solution Architect
    Salient Process
    ------------------------------



  • 3.  RE: Which holiday schedule is used if timeSchedule.excludeHolidays is true?

    Posted Fri February 03, 2023 12:34 AM
    I see. Thanks Atanu!





  • 4.  RE: Which holiday schedule is used if timeSchedule.excludeHolidays is true?

    Posted Fri February 03, 2023 01:40 AM

    I see. Thanks Atanu!