EARunTaskSchedule
This document was generated using Claude.ai
Overview
Manually executes a predefined task schedule by its business code. This allows triggering scheduled tasks outside of their normal schedule, useful for testing, maintenance, or running tasks on demand.
When This Action Runs
Manual execution when scheduled tasks need to be run immediately, such as for testing task configuration, running maintenance tasks outside normal hours, or triggering processes on demand.
How It Works
- Locates task schedule - Finds TaskSchedule by the specified business code
- Initiates execution - Calls TaskScheduleRunner to execute the task immediately
- Runs synchronously - Task executes in the current context without scheduling delay
- Returns immediately - Returns success result once task execution is initiated
Parameters
Parameter 1: Task Schedule Code (Required) - Business code of the TaskSchedule to execute
Database Tables Affected
- TaskSchedule - Reads task configuration, parameters, and execution settings
- Task Execution Tables - May create task execution log records
- Variable Tables - Depends entirely on what the task schedule does (could affect any tables)
Important Warnings
⚠️ Task Schedule Requirements
- Task schedule must exist and have a valid business code
- Task must be properly configured with valid parameters
- Task schedule configuration must be complete and tested
⚠️ Execution Context
- Task runs immediately in current user context
- No scheduling delay or queue management
- Task execution may take significant time depending on task complexity
⚠️ System Impact
- Task may perform database operations, file operations, or external service calls
- Consider system load and resource usage before running intensive tasks
- Tasks may have side effects not obvious from this action
⚠️ Error Handling
- Task execution errors may not be immediately visible
- Check task execution logs for detailed error information
- Failed tasks may leave partial results or inconsistent state
⚠️ Concurrency Considerations
- Multiple simultaneous executions of the same task may cause conflicts
- Some tasks may not be designed for concurrent execution
- Consider task dependencies and execution order
Module: core
Full Class Name: com.namasoft.infor.domainbase.util.actions.EARunTaskSchedule