Hi There,
Can some one help me how we can get the list of bots that are running more than 24 hours from the orchestrator. If there is already available snippet/code kindly share the same.
@avinashy
You can easily utilize the GetJob activity to retrieve the details of jobs that have been running for over 24 hours.
To exclude these, employ the Filter Builder.
Then apply the filter:
Start Time - Newer Than - DateTime.Now.AddDays(-1)
State - Equals - Running