My trigger on the function is not working
First off all, i tested my function using a trigger and worked nice. I'm gonna try to explain how our workflow works.
When a Leads with the specified conditions comes, a registry of a module to deal with the our integrations is created, and a workflow is called and call a function to, in this function we validate some of conditions we need and create other registry passing the {"trigger":{"workflow"} on the createRecord, but when we try to test this does not work, only in the function alone.
Has anyone can help us?