Ideally, in Step 3, refer to Step 1’s offer and make changes to that. Workflows in Bubble need not execute sequentially which is why Step 3 could be executing before 1.
Also, I see that you are creating a new Offer in Step 1 but are not linking that to the Current User (making changes to thing → Current user), so you might want to do that as well.
Concerning the first answer, you mean that i can’t add this new element to a list which is not in the flow since it could add it before its creation ?
Concerning the second part, I only want to add the offer to the company where the user works. So there is a lookup company on the user database. So I can link it with “Current User’s Company’s Offer”. Is that a problem ?
That’s correct. The safe bet would be to just refer to the result of step 1 (in your thing to change) which forces Bubble to execute step 1, and then step 3
Okay that works, but are you adding the new offer (that you are creating in Step 1) to the Current User’s company?
This issue was fixed and solved on call with @Nayxo.
The workflow had to be changed (Step 3 was making changes to a list of things, whereas the action of making change to a thing had to be used, with the field being Offers, and adding item to the list).
Furthermore, cookies had to be deleted since the Current user’s Company was showing up as empty despite being in the DB.