# ApiWorkflowStepRelationDataModel

- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepRelationDataModel#SCHEMA_REPRESENTATION)
- [ApiActionStatusEnum](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepRelationDataModel#ApiActionStatusEnum)

ApiWorkflowStepRelationDataModel represents a relation between workflow steps.

| JSON representation |
|---|
| ``` { "condition": string, "fromStep": string, "toStep": string, "destinationActionStatus": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepRelationDataModel#ApiActionStatusEnum`) } ``` |

| Fields ||
|---|---|
| `condition` | `string` Required. Condition is the condition for the relation. |
| `fromStep` | `string` Required. FromStep is the identifier of the source step. |
| `toStep` | `string` Required. ToStep is the identifier of the destination step. |
| `destinationActionStatus` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ApiWorkflowStepRelationDataModel#ApiActionStatusEnum`)`` Required. DestinationActionStatus is the status of the destination action. |

## ApiActionStatusEnum

ApiActionStatusEnum represents the status of an action.

| Enums ||
|---|---|
| `API_ACTION_STATUS_ENUM_UNSPECIFIED` | The status is unspecified. |
| `FAULTED` | The status is faulted. |
| `IN_PROGRESS` | The status is in progress. |
| `COMPLETED` | The status is completed. |
| `PENDING_USER_INPUT` | The status is pending user input. |
| `PENDING_PREVIOUS_STEPS` | The status is pending previous steps. |
| `STARTED` | The status is started. |
| `FAULTED_AND_SKIPPED` | The status is faulted and skipped. |
| `HANDLED_TIMEDOUT` | The status is handled timed out. |
| `UNHANDLED_TIMEDOUT` | The status is unhandled timed out. |
| `TERMINATED` | The status is terminated. |
| `NOT_RUN_AND_SKIPPED` | The status is not run and skipped. |
| `PENDING_ACTION_TIMEOUT` | The status is pending action timeout. |
| `PENDING_ACTION_TIMEOUT_AND_SKIPPED` | The status is pending action timeout and skipped. |
| `NO_STATUS` | The status is no status. |
| `PENDING_RETRY` | The status is pending retry. |