When I'm executing schedule job, record is not getting created in Transaction log properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 12:06 AM
When I'm executing schedule job, record is not getting created in Transaction log with type as "Scheduler" instead of that it was creating in some random types like "Form" and other things..
why so?
.
.
@Ankur Bawiskar @Community Alums
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 12:23 AM
Hi @Raghu Ram Y ,
Could you please confirm if you tried changing the default filter which applies when you open the transaction log. By default it has a filter of URL starts with / because of this firlter scheduler logs are not shown but if you change the filer to created on today it does show that in list , shared screen shot below :
Default transaction log, shows not scheduler log because of filter
After modifying the filter to created today, scheduler entry shows up:
I hope this helps.
Please mark this helpful if this helps and Accept the solution if this solves your issue.
Regards,
Kamlesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 12:27 AM
Yes, I tried it already... but still it was not showing in "scheduler" type..
it was showing in some other type..
My requirement is to know at which time schedule job starts running and how much time it takes to complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 02:07 AM
Hi @Raghu Ram Y ,
I understand what you are trying to say now. So scheduler type is when any scheduled job executes as per it's schedule that is system scheduler has executed it. But when you execute it manually that's not the case, it an instantaneous execution hence not the type scheduler.
Now coming to the part where you thought that transaction is categorised as Form, it's not the case. What you see transaction as a Form, it represents you have opened the form of scheduled job. If your referesh scheduled job form 3 times, you will see same reflected in Transaction Log as well in the Type as Form 3 times. It's just capturing your browser activity and not your execution.
I hope this Helps.
Regards,
Kamlesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 01:58 AM
@Saurav11 can you please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 02:31 AM
hello,
Whenever you run a schedule job it should be captured in the Transaction log along with other transactions like form list etc.
Make sure you do not have any filter applied on the transaction log to find the scheduler:-
Also when you run a schedule job along with type scheduler there will be other type of transaction captured as well because the schedule job is most probably updating records on some other table.
Now even if you doing the above you don't see the scheduler type check if for other schedule job are you able to see the type scheduler in the transaction log.
Also if you want to understand meaning of each field in transaction log and what it denotes, please check the below article:-
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0584420
Please mark my answer as correct based on Impact.