When I delete the middle nodes everything works but I don’t want to keep these executions in this workflow. Please help me to do it in the right way.
thank you
Have you checked the log to see if it shows why it has crashed? Are you also trying to clear the history of a workflow that is currently running?
Rather than having a workflow delete the database executions have you also tried to use the options we have like the 3 below that would automatically take care of it.