Skip to content

Commit

Permalink
Fix issue in subscription update approval workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AnuGayan committed Oct 8, 2024
1 parent 291cd1e commit f86483d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ public Response workflowsUpdateWorkflowStatusPost(String workflowReferenceId, Wo
workflowDTO.setAttributes(body.getAttributes());
}
String workflowType = workflowDTO.getWorkflowType();
if (WorkflowConstants.WF_TYPE_AM_SUBSCRIPTION_UPDATE.equals(workflowType)) {
if (WorkflowConstants.WF_TYPE_AM_SUBSCRIPTION_UPDATE.equals(workflowType) ||
WorkflowConstants.WF_TYPE_AM_SUBSCRIPTION_CREATION.equals(workflowType)) {
WorkflowExecutor workflowExecutor = WorkflowExecutorFactory.getInstance().getWorkflowExecutor(
workflowType);
workflowExecutor.complete(workflowDTO);
Expand Down

0 comments on commit f86483d

Please sign in to comment.