Have any ideas about fail-control for multi-jobs in NAS?
gison
Member Posts: 128
Dear all,
There is a customization requirement I've got.
I need to create a job-table which user can input any jobs they want to run it by schedule, then I use Navision Application Server to drive all the jobs,
also depend on the some columns column on the job-table.
It's seem to no big problem, but the most challenged part is....
if certain job failed, how can I handle it? Also, make sure other jobs can execute normally.
:?
Any Ideas would be appreciated.
There is a customization requirement I've got.
I need to create a job-table which user can input any jobs they want to run it by schedule, then I use Navision Application Server to drive all the jobs,
also depend on the some columns column on the job-table.
It's seem to no big problem, but the most challenged part is....
if certain job failed, how can I handle it? Also, make sure other jobs can execute normally.
:?
Any Ideas would be appreciated.
0
Comments
-
Another problem is if one of the job error, then rollback other job's modification.0
-
1) If you will use NTimer automation to run the objects, you can use the OnError event to "catch" the error and save them somewhere.
2) If everything is running in one big transaction without commit, if there is error, all will be rolled back. But you need to run it in a loop or something than and you need to know "when" you will end the transaction (where are the boundaries of the transaction)0 -
If you use the NTimer dll as suggested then a COMMIT is executed after each Timer event completes execution. If an error occurs during the execution of the Timer event the database activity is rolled back and the TimerError event runs. Another COMMIT is executed after completion of the TimerError event.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 323 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
