Context : screen flow 'create new case' launched from formula field link (to be included in the global search result colums). (I will add a doc w/ relevant screenshots asap)
can be launched from 3 different objects (Entitlement, Service Contract, Account).
based on the object launched from some values are predefined
the error occurs after clicking 'next' on the screen element. It doesn't move forward, but instead reopens the screen underneath the existing one and displays the error. In the debugging mode I can see that the flow does not move forward from the screen, so normally not related to any of the assignments.
This worked fine until last week when I didn't include the logic to show different screens based on the object type launching the flow. Before that, I just assumed it was from entitlement (the most complete one). In adding this logic I copied the 'screen element' twice and rewritten the assignments after that to reference the new values from the copied screens (eg. value for ent 'Value', value for new screen 'value_0'),
After first getting this error, I tried reactivation and testing the old version from last week, this works fine.
I double-checked the predefined 'default' values in both versions in the screen, and they are exactly the same.
So, I assumed it's related to some of the fields that I added since to the screen (I added a normal text input, and two email/ phone input fields). I removed these one by one, still no improvement.
Just to be sure I also removed them from the other screen elements ( on the branches launched from other object types, even if in this specific test from entitlement we don't pass them) still the error.
Weirdly enough, it does work when we try to do it from Service Contract or Account.
Any ideas please ? :D
1 answer
Hi Tony,
Sorry for the inconvenience. In case you don't receive a response here, may I also suggest joining the Developer forums below to collaborate with the experts for best practice and advice.
https://developer.salesforce.com/forums
https://salesforce.stackexchange.com/
Hope this helps.
Regards,
Jayson