Hi
@vignesh ShankarI understand that your problem is that the previous session has not started, and the new scheduler session could not be started.
You have a complete log in the DataBase. You will get something similar to this: (Table
[BPAScheduleLogEntry])
Here you have a complete query to get it easy:
SELECT [name] AS ScheduleName , BPLog.id , BPLog.servername , BPLog.instancetime , BPLogEntryEnd.entrytime AS EndTime , BPLogEntry.terminationreasonFROM [BPASchedule] BPSche INNER JOIN [BPAScheduleLog] BPLog ON BPSche.id = BPLog.scheduleid INNER JOIN [BPAScheduleLogEntry] BPLogEntry ON BPLog.id = BPLogEntry.schedulelogid AND BPLogEntry.entrytype IN (2, 5, 😎 LEFT JOIN [BPAScheduleLogEntry] BPLogEntryEnd ON BPLog.id = BPLogEntryEnd.schedulelogid AND BPLOGEntryEnd.entrytype in (1,2)WHERE BPLog.instancetime > DATEADD(DAY,-1,GETDATE())This query gives you only the Schedule Errors. For more info, you can change a little bit the query by removing the filters with the EntryType Field.
Here you have the relation between the number and description
0 = Start of schedule1 = End of schedule, success2 = End of schedule, exception3 = Start of task4 = End of task, success5 = End of task, exception6 = Start of session7 = End of session, success8 = End of session, exceptionYou can create another Process to check this query results
Also, I will give you some information about Alerts in BluePrism. Really interesting if you want to create a process to check the status of the rest of the Schedules
Blue Prism AlertsBlue Prism Alerts Configuration(Check your BP Version to see if you have this functionality)
Hope this helps you. And if this solves the problem, remember mark as the best answer!
See you in the Community, bye
🙂------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
634726270
------------------------------