Scheduled Jobs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-01-2024 04:40 AM
I have created a scheduled job to create catalog task on 1st of every month but sometimes it is creating duplicate tasks
do I have to run it as timezone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-01-2024 06:47 AM
Okay... so it may be not be time zone isue, did you check the created by for both?
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-01-2024 07:15 AM - edited ā02-01-2024 07:15 AM
yeah same for the both tasks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-01-2024 07:20 AM
Sorry mate, no idea then. May be log a case with SN help here.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-01-2024 12:15 PM
Hello @Sourabh22 ,
you can Implement some checks in your scheduled job to verify if a record already exists. Utilize glideQuery to inspect certain fields to ensure their uniqueness. - Only create a new record if these conditions are met.
Is there any pattern that you can see when this duplicates records creating? maybe that will help to understand the issue.
Kindly mark the answer āļø Correct or Helpful āļø If it addresses your concern.
Regards,
Siddhesh