diff --git a/flow_action_components/HTTPBuilder/force-app/main/default/lwc/makeHTTPCallCPE/makeHTTPCallCPE.html b/flow_action_components/HTTPBuilder/force-app/main/default/lwc/makeHTTPCallCPE/makeHTTPCallCPE.html
index 30c6d3dc0..186c91820 100644
--- a/flow_action_components/HTTPBuilder/force-app/main/default/lwc/makeHTTPCallCPE/makeHTTPCallCPE.html
+++ b/flow_action_components/HTTPBuilder/force-app/main/default/lwc/makeHTTPCallCPE/makeHTTPCallCPE.html
@@ -55,7 +55,7 @@
{errorMessage}
label={labels.Body_Label}
builder-context={_builderContext}
name="Body"
- onvaluechanged={handleFlowComboboxValueChange}
+ onvaluechanged={changeBody}
value={body}
value-type={bodyType}
class="slds-m-around_medium"
@@ -84,7 +84,7 @@ {errorMessage}
-
+
diff --git a/flow_action_components/HTTPBuilder/force-app/main/default/lwc/makeHTTPCallCPE/makeHTTPCallCPE.js b/flow_action_components/HTTPBuilder/force-app/main/default/lwc/makeHTTPCallCPE/makeHTTPCallCPE.js
index dabe0c6b7..a669684ab 100644
--- a/flow_action_components/HTTPBuilder/force-app/main/default/lwc/makeHTTPCallCPE/makeHTTPCallCPE.js
+++ b/flow_action_components/HTTPBuilder/force-app/main/default/lwc/makeHTTPCallCPE/makeHTTPCallCPE.js
@@ -182,7 +182,9 @@ export default class MakeHTTPCallCPE extends LightningElement {
return validity;
}
- dispatchFlowValueChangeEvent(id, newValue, newValueDataType) {
+ dispatchFlowValueChangeEvent(event) {
+ if (event && event.detail) {
+ const newValue = event.detail.value;
const valueChangedEvent = new CustomEvent('configuration_editor_input_value_changed', {
bubbles: true,
cancelable: false,
@@ -194,7 +196,7 @@ export default class MakeHTTPCallCPE extends LightningElement {
}
});
this.dispatchEvent(valueChangedEvent);
- }
+ }}
changeURL(event) {
//this.inputValues['Endpoint'] = event.target.value;
@@ -266,15 +268,6 @@ export default class MakeHTTPCallCPE extends LightningElement {
}
- getFLowBooleanValue(value) {
- if(value === '$GlobalConstant.True') {
- return true;
- } else if('$GlobalConstant.False') {
- return false;
- }
-
- return value;
- }
makeRESTCall(request) {
makeTestRESTCall( {
@@ -304,4 +297,4 @@ export default class MakeHTTPCallCPE extends LightningElement {
return JSON.stringify(request);
}
-}
\ No newline at end of file
+}