Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

webResponse is not overwritten by subsequent request

Gergana_Damyanova
Contributor
July 3, 2025

So I have this automation that sends web requests to Salesforce. 
I need to send 2 requests, and extract some value from the response body of the second, however when I log the webresponse, it seems that it's still the response of the first request. Is this expected or I'm doing something wrong? As far as I know the webresponse is overwritten with each new request.
The requests are different, but the response is the first one, you can see by the timestapm:

Screenshot 2025-07-03 at 14.27.44.png

Is there any other way to access the response body?

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2025

Hi @Gergana_Damyanova 

Without seeing the specifics of your entire rule...

For each Send Web Request action, have you enabled the option to wait before the rule proceeds:

Delay execution of subsequent rule actions until we've received a response for this web request

If not, please enable that and re-test.

 

Kind regards,
Bill

Gergana_Damyanova
Contributor
July 6, 2025

Thanks, Bill, this seems to be the fix. I reached out to Atlassian Support and they told me the same.
It's a miss from my side, as I enabled this for the first request, but forgot to check it for the second. 
However I did add a delay, even 10 secs delay didn't seem to help (my entire rule executes for 6-7 secs, this includes the first request), so it's a mystery to me why the webresponse is not overwritten.
If anyone hits the same problem, I hope this helps them.

Best,

Gergana

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events