diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java index 850ecdcf9d2..4ca080d7f26 100644 --- a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java +++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java @@ -213,6 +213,8 @@ public class PolicyManagerUtil { operationPayload.addProperty("longitude", geofence.getLongitude()); operationPayload.addProperty("radius", geofence.getRadius()); operationPayload.addProperty("name", geofence.getFenceName()); + operationPayload.addProperty("fenceShape", geofence.getFenceShape()); + operationPayload.addProperty("geoJson", geofence.getGeoJson()); profileOperation.setPayLoad(operationPayload.toString()); } }