I have a workflow that gets triggered when they submit an application.
See the attachment. The first thing I do is search for the opportunity. If it doesn't exist, I create it. If it does exist, I update it. However, there's a bug where it goes into the "there is no opportunity," and then it errors out and says "can't create an opportunity - there's a duplicate".
So, somehow, there are both 0 and 2 opportunities. This bug affects about 25% of all of my survey completions.
Can you please help to fix?