Did you set LOGIC_FUNCTION_TYPE=LOCAL in on the worker's env and not the server's env? https://github.com/twentyhq/twenty/issues/18724#issuecomment-4081456725
GitHub
Bug Description If I run a workflow with a logic function, the run fails at the logic function call with Logic function execution is disabled. Set LOGIC_FUNCTION_TYPE to LOCAL or LAMBDA to enable. ...