Tell how process invoked via API has failed
Options
julio.harada
Member, ALL USERS, Employee Posts: 5 Contributor
When we POST /processes/{{processid}}/tasks (API call to invoke process) to closed model, server will start attempt to open the model and at the same time, sends back 200 to client with taskId in its response body.
However in some occassion (like outage) the model fails to open. This will cause the process task to also fail.
To check the status of the invoked process, conventionally, we will be making GET request using the taskId.
When we GET the result of this process, response does not indicate how it has failed.
Example response:
{ "meta": { "schema": https://api.anaplan.com/2/0/models/<modelGuid>/objects/task }, "status": { "code": 200, "message": "Success" }, "task": { "taskId": "<taskId>", "currentStep": "Failed.", "progress": 0.0, "result": { "failureDumpAvailable": false, "objectId": "<processId>", "successful": false }, "taskState": "COMPLETE", "creationTime": <epoch> } }
This will make it harder to debug the cause of failed process.
Internal ref: CORESRV-9976
Tagged:
0
Categories
- All Categories
- 2.3K Anaplan Community
- Academy
- Anaplan Talent Builder
- Model Design Course
- The Anaplan Way
- Archive
- 2 Idea exchange
- 62 Enterprise Scale
- 1.1K Extensibility
- 21 Intelligence
- 1.6K Planning & Modeling
- 331 Security
- Community Connections
- Connections
- Experiences
- Groups
- Personas
- Employees
- CS Toolkit
- Customer Care Center
- Forums
- Academy & Training
- Community Feedback & Updates
- Japan
- Anaplan Community Japan
- Anaplan Community Japan Knowledge Base
- HyperCare Japan
- JP-Central
- Support-Japanese
- Partners
- Partner Leadership Council
- Partner Product Council
- 724 Platform
- Anapedia
- App Hub
- Centers Of Excellence
- Extensions
- Planual
- Platform Updates
- 724 User Experience
- Profile Builder
- Resources
- Anaplan Advocates
- Anaplan Live!
- Community
- Community Advancement
- Community Connections
- Partner Program
- The Official Master Anaplanner Program
- Videos
- Welcome to the Anaplan Community!
- Success Central
- Support
- Case Portal Link
- Common Support Questions
- HyperCare Redirect
- Known Issues and Workarounds
- Support test page
- SupportFAQ
- Survey
- 2 Training Day Takeaways