Customization to Toggle CallContextBpmData Cast Error

ok, I got my code from here

I’ve since added a UD field and have now got that working as needed

thanks