Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

How to assess the purpose of a batch job

Posted on by 302
The company I work for have a large amount of active batch jobs. However, currently, we don't have a good overview of what the different batch jobs actually do. The partner who configured them did not provide documentation.
 
An example of a batch job we don't know the purpose of is the one below. When I searched for the /class name/ online, I could not find any documentation. /Workflow maintenance/ does not tell me exactly what this batch job is for.
 
Could anyone explain how to assess the purpose of a batch job?
 
 
 
 
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,235 Most Valuable Professional on at
    How to assess the purpose of a batch job
    No, you can't see code through GUI. You need to ask a developer to look at a particular class if necessary.
  • Suggested answer
    Muthukumar Mani Profile Picture
    Muthukumar Mani 36 on at
    How to assess the purpose of a batch job
    •  Log in to your D365 Finance and Operations environment.
    • Navigate to the "Batch Jobs" form. You can do this by clicking on the "Modules" button in the top navigation bar and then selecting "Batch jobs" from the available modules. Alternatively, you can use the global search function to search for "Batch Jobs".
    •  In the Batch Jobs form, you will see a list of all the batch jobs that have been defined in the system.
    •  Locate the specific batch job for which you want to access the purpose.
    •  Double-click on the batch job record to open it.
    • . In the opened batch job record, you will find various information related to the batch job, including the purpose. This purpose field describes the intended use or objective of the batch job.
    • Review the purpose field to access the purpose of the batch job.
  • Gaute K Profile Picture
    Gaute K 302 on at
    How to assess the purpose of a batch job
    I don't have access to Visual studio. Is it possible to find this information elsewhere?
  • Martin Dráb Profile Picture
    Martin Dráb 230,235 Most Valuable Professional on at
    How to assess the purpose of a batch job
    I looked inside the class (in Visual Studio).
  • Gaute K Profile Picture
    Gaute K 302 on at
    How to assess the purpose of a batch job
    Martin, where did you click to see that information? 
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,235 Most Valuable Professional on at
    How to assess the purpose of a batch job
    This is documentation from the header of SysWorkflowMaintenanceTask class:
     
    The purpose of this batch task is to identify workflow runtime records that are associated to a workflow document that has been deleted. For example, it is possible for a user to be assigned an active work item, but the associated document no longer exists. This causes issues for the customer. This batch task is to reduce this issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans