Class StartChildWorkflowExecutionFailedEventAttributes

    • Method Detail

      • workflowType

        public final WorkflowType workflowType()

        The workflow type provided in the StartChildWorkflowExecution Decision that failed.

        Returns:
        The workflow type provided in the StartChildWorkflowExecution Decision that failed.
      • workflowId

        public final String workflowId()

        The workflowId of the child workflow execution.

        Returns:
        The workflowId of the child workflow execution.
      • initiatedEventId

        public final Long initiatedEventId()

        When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated event that corresponds to the StartChildWorkflowExecution Decision to start the workflow execution. You can use this information to diagnose problems by tracing back the chain of events leading up to this event.

        When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the StartChildWorkflowExecutionInitiated event doesn't exist.

        Returns:
        When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated event that corresponds to the StartChildWorkflowExecution Decision to start the workflow execution. You can use this information to diagnose problems by tracing back the chain of events leading up to this event.

        When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the StartChildWorkflowExecutionInitiated event doesn't exist.

      • decisionTaskCompletedEventId

        public final Long decisionTaskCompletedEventId()

        The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.

        Returns:
        The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.
      • control

        public final String control()

        The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the child workflow execution.

        Returns:
        The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the child workflow execution.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)