If my previous reply was not clear enough, I’m trying to get the response to the ‘Output’ variable defined in the ‘Call Return Value Name’ field for ‘ValidateAndFetchCatalogNoDefaults’. I need to use these return variables from the call ValidateAndFetchCatalogNoDefaults in next steps. Thanks,Piyumi
Hi Lahirumala,The error is because I'm trying to pass the CatalogType and SupplyCode to the Customer Order Line, which should ideally be fetched from the 'Get Catalog No Defaults' projection call. I modified the workflow up to that point for the time being, but there's no error given from this projection since 'ValidateAndFetchCatalogNoDefaults' is supposed to be a POST call. However, I'm not getting any of the intended values that are included in the response schema. Thanks,Piyumi
@Buddhi Gunasekara Thank you! This worked for me.
@Buddhi Gunasekara I was able to modify the Workflow without using the REST Response, now it will work perfectly if the HTTP response is successful but I want the Workflow to continue and move on to the next step, even if I get an error response for the API call, it seems like using an output variable didn’t help because it would not continue to the gateway in case of a failure response to make use of the output variable. Do you have any suggestions on this?
Hi Buddhi,I verified the URL with the Postman and it works fine. As for the _Response variable I’m not able to check the value since it seems like the flow would not continue after the API call. I modified the variable as $._Response which I believe is the correct format but it seems like the issue right now is that after the API call everything comes to a halt.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.