Skip to main content

Avatar PM 2022 Update 35

Product Requirements / Recommendations

Avatar PM required
RADplus required

Product Update Form Description

An issue with the System Task Scheduler is resolved.

Included Updates

10

Required Updates

None

Details

NEW0 CHANGED0 FIXED1
Fixed (1)
System Task Scheduler - processes
An issue is resolve with the" System Task Scheduler" where 'Hourly' task processes could get kicked off multiple times while they were still running
Topics
• System Task Scheduler
 
Acceptance Tests

AV-79228 Summary | Details
System Task Scheduler - processes
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
  • System Task Scheduler
  • Task Scheduler Status - Widget
Scenario 1: 'System Task Scheduler' - Task Process(s) validation
Specific Setup:
  • 'View Definition' form has been used to add the ‘Task Scheduler Status’ widget to Home View for the logged in user
  • In form "System Task Scheduler", have or create a task [TaskA] that can be selected in "Schedules" field. For this test, a "State Form Definition" form file was created that selects all records in the "SYSTEM.patient_current_demographics" table and the definition was then set up in the "State Form Task Scheduler" as a task.
Steps
  1. Open form "System Task Scheduler".
  2. Select [TaskA] from the "Schedule(s)" field
  3. Select "Hourly" in the "Recurrence Pattern" field
  4. Enter "1" in "Task Occurrence Sequence" field
  5. Select today's date [DateA] in the "Range of Occurrence", "Start By" field
  6. Select the desired start time in the "Range of Occurrence", "Start Time" field, note the time entered [StartTime]
  7. Select tomorrows date [DateB] in the "Range of Occurrence", "End By" field
  8. Set the desired end time in the "Range of Occurrence", to be after "3:00 AM" the next day, for example "4:00AM". Note the end time entered [EndTime]
  9. Click "Schedule Task"
  10. At the home screen, refresh the ‘Task Scheduler Status’ widget
  11. Ensure [TaskA] is listed with the expected "Last Run Date" [DateA] and "Last Run Time" [StartTime] noted in step 1
  12. Refresh the widget periodically, for example every 5 or 10 minutes before another hour has passed
  13. Ensure just one row is listed for [TaskA] and it still displays the same "Last Run Date" [DateA] and "Last Run Time" as in step 2a
  14. Wait till one hour has passed since the [StartTime]
  15. Click to refresh the "Task Scheduler Status" widget
  16. Ensure there is still just one entry for [TaskA] and the task now displays the expected "Last Run Date" as today's date [DateA] and the "Last Run Time" equates to [StartTime] plus 1 hour
  17. Wait until another hour has passed since the [StartTime]
  18. Click to refresh the "Task Scheduler Status" widget
  19. Ensure there is still just one entry for [TaskA] and the task now displays the expected "Last Run Date" as today's date [DateA] and the "Last Run Time" equates to [StartTime] plus 2 hours
  20. Repeat step 4 periodically, for example every 3 hours up till before the [EndTime]
  21. Ensure there is still just one entry for [TaskA] and the task now displays the expected "Last Run Date" still as today's date [DateA] and the "Last Run Time" equates the [StartTime] plus the number hours that have passed since the [StartTime]
  22. Wait till the next day and when [EndTime] noted in step 1 has passed
  23. Ensure there is still just one entry for [TaskA] and the task now displays the expected "Last Run Date" as the [DateB] and the "Last Run Time" is equal to [End Time] noted in step 1
Topics
• System Task Scheduler

 

  • Was this article helpful?