Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-16803

HD Script is not ignoring Sunday or Holiday it seems - other downstream issues occur as a result

    Details

    • Type: Testing Defect
    • Status: Done (View Workflow)
    • Priority: Critical
    • Resolution: Completed
    • Affects Version/s: CFA 2021R6
    • Fix Version/s: CFA 2021R6
    • Component/s: None
    • Labels:
    • SCRUM Team:
      Brotherhood of Mutants
    • Sprint:
      2022.R1 New Features Sprint 1, 2022.R1 New Features Sprint 2

      Description

      Scenario - Today is Monday and I have a Work Flow Instance for it - 00703 in Testing /August 24,2020 

      Env: CFATesting

      I want to advance the days with the script to Wednesday, Aug 26 

      Click Review 

      Last Finalized Date displays as 22 Aug 2020 (which is correct - that was Saturday)


       

      Defect

      • Catch up Date displays as 23 Aug 2020 - this is not correct since we should ignore Holidays and Sundays (usually denoted by tbMXDay.Daytype = 2) 
        • If a user selects a day after a Sunday, or Holiday, as the Business Date, the Catch Up date should not be displayed as the Sunday or Holiday
        • If a user selects a day that is after a Sunday and a Holiday as the Business Date, the Catch Up date should be neither the Sunday, nor Holiday

        

      This lower piece is for **informational purposes ONLY ** and is the result of clicking Execute

      When executed  the script creates  a Work Flow for Aug 25th and and set the colors to Orange.

      It did not complete the Aug 24 Work Flow. 

       
       

      Another Store and example where I think this same issue will occur is Store 00440 when it states the Catch Up Day is Nov 26, 2020 - which is a closed Day due to the Thanksgiving Holiday.

      Last observed behavior - in the DB it set tbMXDay.DayType status of Saturday - Aug 22, 2020 to '2'. When it previously had a DayType = 1. 
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                charles.wheeler Charles Wheeler
                Reporter:
                charles.wheeler Charles Wheeler
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  0h
                  Logged:
                  Time Not Required
                  Not Specified

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.