Gform_confirmation_loaded

I have conditional logic tied to my confirmation messages, with three different confirmation message possibilities. I’d like to load some specific javascript actions based on which confirmation was triggered using the gform_confirmation_loaded function but it appears to only be based on the form ID, no form fields or confirmations. Is there something I’m missing?

You can use the gform_confirmation filter instead: https://docs.gravityforms.com/gform_confirmation/#h-3-output-script-with-confirmation-message