Create Task Soar
AI-generatedOverview
This node creates a task in the Soar system by sending task details to the Soar API. It is useful for automating task creation workflows where tasks need to be registered in Soar with specific attributes such as type, name, code, department, case association, priority, SLA, description, status, attachments, and tenancy information. For example, it can be used in incident management to log new tasks automatically based on incoming data.
Use Case Examples
- Creating a task in Soar when a new incident is detected in a monitoring system.
- Automating task creation for service requests with predefined priority and SLA codes.
Properties
| Name | Meaning |
|---|---|
| Type | Type of the task (e.g., 1) |
| Name | Name of the task |
| Code | Code of the task |
| Department Code | Department code for the task |
| Case Code | Case code associated with the task |
| Username | Username of the user creating the task |
| Catalog Priority Code | Priority code for the task |
| SLA Code | Service Level Agreement code for the task |
| Description | Description of the task |
| Status | Status of the task (e.g., 0) |
| Attachment IDs | Array of attachment IDs associated with the task |
| Tenancy Code | Tenancy code for the task |
Output
JSON
success- Indicates if the task creation was successful (true or false)response- Response data returned from the Soar API after task creationname- Name of the task createderror- Error message if task creation failedstatusCode- HTTP status code returned on errorcaseName- Case name related to the task, included in error output
Dependencies
- Soar API with API URL and token credentials
Troubleshooting
- Common issues include invalid or missing API credentials, incorrect task parameters, or network connectivity problems.
- Error messages may include HTTP status codes and response bodies from the Soar API indicating the cause of failure.
- To resolve errors, verify API credentials, ensure all required task parameters are correctly set, and check network access to the Soar API endpoint.