From 89383165dd4b4e61ad9f02be88d8f85b133c2471 Mon Sep 17 00:00:00 2001 From: Tharanidk Date: Wed, 22 May 2024 13:57:58 +0530 Subject: [PATCH] popup workflow reject message populating jsonPayload --- .../rest/api/publisher/v1/common/mappings/APIMappingUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/common/mappings/APIMappingUtil.java b/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/common/mappings/APIMappingUtil.java index 5367d937353a..cb7cad039032 100644 --- a/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/common/mappings/APIMappingUtil.java +++ b/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/common/mappings/APIMappingUtil.java @@ -2103,6 +2103,7 @@ public static WorkflowResponseDTO toWorkflowResponseDTO(LifecycleStateDTO lifecy workflowResponseDTO.setWorkflowStatus(WorkflowResponseDTO.WorkflowStatusEnum.CREATED); } + workflowResponseDTO.setJsonPayload(stateChangeResponse.getWorkflowResponse().getJSONPayload()); workflowResponseDTO.setLifecycleState(lifecycleStateDTO); return workflowResponseDTO; }