In my requirement a person called grader has to provide grades for an exam, and his grading period needs to be recorded(Grade Start time and grade end time).The grader should complete his grading for the exam before Monday 9:00 AM(which is deadline).If a grader's start time is 1/3/2019 3:29 PM he needs to complete his work on or before 1/7/2019 9:00 AM.
All grading efforts are due Monday 9:00AM. If not returned by this time, it will be returned to the grading queue. If accepted on a Friday, Saturday, or Sunday, a $250 bonus will be awarded; otherwise the bonus will be $150.
If your question is how do I implement this requirement, one way is to include a custom filter section and get the grader to enter start and end time. In the filter condition use OOTB date function if one is available to determine what the closest Monday is or write your own function alias to achieve that and return the reward correspondingly.
Thank you for your response,As I am new to pega I can only understand basics.
My actual requirement is to send the work back to workbasket if the grader fails to complete his work by coming Monday 9 AM (deadline) from the GraderStartDate. So in SLA I have given action for deadline as transfer,but in the below attachment how can I take a deadline days as coming Monday 9 AM.