2024 Apr 09 5:53 PM - edited 2024 Apr 09 6:13 PM
Dear SAP Community,
I am currently sending a post request with the following command in an if loop :
RestClient.Post(url, data, headers) . The paramaters url, data and headers are already specified . The problem is that i have further commands after sending the request from the CPQ system in the if loop, that I want to execute. Once The RestClient is run, the further requests are no longer executed.
Does anyone have any suggestions or idea, where or how I can solve such an issue ?
Best regards
Lola
Request clarification before answering.
Hi Fancy,
if myvariable == myvalue:
response = RestClient.Post(url, data, headers)
context.Quote.AddMessage("message text", MessageLevel.Error, True)
The post request is running perfectly but the next command won't be executed.
Best regards
Lola
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.