The root cause of the problem that custom objects are prohibited from being deserialized. See more at stackoverflow answer:aem - Sling job not being processed with custom serializable property - Stack Overflow
Hello Jörg,Yes I was verifying that files are cashed before I request it, but only 503 was returning content from cache.When I was requesting resource with 502 and 504, cache was deleted and 502/504 status was returned on dispacherThank you,Yaraslau
I configured Custom Workflow via Workflow Launcher Configuration on 'removed' Event type. Result the same as for first case.Workflow executed after page has been deleted.