Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng committed Nov 27, 2023
1 parent 929243f commit e11c872
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public static void autoFillFailureProceedingStateOptions(WorkflowStateOptions st
&& stateOptions.getExecuteApiFailureProceedStateOptions() == null) {

// fill the state options for the proceeding state
String stateId = stateOptions.getExecuteApiFailureProceedStateId();
final StateDef proceedStatDef = registry.getWorkflowState(workflowType, stateId);
String proceedStateId = stateOptions.getExecuteApiFailureProceedStateId();
final StateDef proceedStatDef = registry.getWorkflowState(workflowType, proceedStateId);
WorkflowStateOptions proceedStateOptions = proceedStatDef.getWorkflowState().getStateOptions();
if (proceedStateOptions != null &&
proceedStateOptions.getExecuteApiFailurePolicy() == ExecuteApiFailurePolicy.PROCEED_TO_CONFIGURED_STATE) {
Expand Down

0 comments on commit e11c872

Please sign in to comment.