Prevent record saving when a condition is met

i have tried to put an ‘error’ step as it clearly states that it can prevent records saving but it never worked, any input regarding solving this issue or infos about the error step will be much appreciated !

It is most likely due to your workflow being “Deferred”. Execution flow details :: Corteza Docs
Since this only works on not “Deferred” workflows

Make sure you don’t use any prompts or delays in the workflow if you wish to use the error step to stop saving when using before(Create/Update) triggers.


Prompts are most likely the issue,
a workaround would be to replace the error step with a function that fetches the last created Record and then a function that deletes it

1 Like