Task Module
Monitor and manage EPMware tasks through the REST API.
Overview
The Task module provides endpoints for monitoring the status and progress of operations initiated through other API modules. When you trigger asynchronous operations like imports, exports, or deployments, they create tasks that can be tracked using this module.
Key Features
- Real-time Status Monitoring: Track task progress and completion
- Log File Access: Retrieve detailed execution logs
- Error Diagnostics: Access error messages and stack traces
- Performance Metrics: Monitor execution times and resource usage
Available Endpoints
| Endpoint | Method | Description |
|---|---|---|
/service/api/task/get_status/{task_id} |
GET | Get current task status |
/service/api/task/get_log_file/{task_id} |
GET | Download task log file |
Troubleshooting
Common Issues
| Issue | Possible Cause | Solution |
|---|---|---|
| Task not found | Invalid task ID | Verify task ID from creation response |
| No log file available | Task still running | Wait for task completion |
Debug Checklist
- ✅ Verify task ID is correct
- ✅ Check authentication token is valid
- ✅ Ensure proper network connectivity
Related Documentation
- Get Task Status - Detailed endpoint documentation
- Get Log File - Log retrieval guide
- Error Handling - Error handling best practices
- Examples - Complete code examples