We have before-insert flow logic that assigns a bunch of values to a Case record, and then a whole lotta more apex trigger logic that goes even further.

One of the conditions of the flow, is that the Status IS NOT a certain value. The flow fails to trigger, so the conditions must evaluate as false.

I have a system debug within the apex trigger logic, and when I debug the Status field, it shows as null. This is despite the Status field having a default value. Even if I set the Status value in the webform as a hidden field, it still comes in as null in Salesforce.

I can see in debug logs that there is no other logic that could potentially set the Status value as null.

Also, web-to-case creates the case as a System Administrator User.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.