The process is automatically completed after the deadline
- Add fields to the WfProcessInstance table:
When the process is started or in an intermediate state, the expiration time of the process instance is updated, so that the background scheduled job task will detect whether there is an overdue process instance in the process instance table. If it exists, the process instance will be automatically set to the terminal state.
- HangFire add task
- View WhJobLog table log information
The details of automatic jobs are recorded in the WhJobLog table. The log table records the primary key ID in the business document, business application- related information, and job scheduling completion status information.