{"id":1323,"date":"2020-02-25T13:03:01","date_gmt":"2020-02-25T13:03:01","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/performance\/event-handler-before-event-should-have-fast-actions\/"},"modified":"2020-07-08T14:35:30","modified_gmt":"2020-07-08T14:35:30","slug":"eventhandlerbeforeheavyaction","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/performance\/eventhandlerbeforeheavyaction","title":{"rendered":"Event handler before event should have fast actions"},"content":{"rendered":"<p>Event handlers run often, for example on commit of an object. These event handler microflows should not have heavy actions.<\/p>\n<p><!--StartFragment--><\/p>\n\n\n<p>The default does consider not retrieves, but does consider CRUD actions as heavy, because before commit you should not do these heavy actions.<\/p>\n\n\n\n<p>See <a href=\"https:\/\/sdf-docs.clevr.com\/?docs=acr\/rules\/heavy-actions\">heavy actions <\/a>for a detailed explanation on how to configure.<\/p>\n","protected":false},"featured_media":0,"parent":95,"menu_order":7,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1323","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1323"}],"collection":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1323"}],"version-history":[{"count":2,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1323\/revisions"}],"predecessor-version":[{"id":1343,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1323\/revisions\/1343"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/95"}],"next":[{"title":"Page button synchronous microflows should only have fast actions","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/performance\/pagebuttonsyncheavyaction","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1325"}],"prev":[{"title":"Event handler after event should have fast action","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/performance\/eventhandlerafterheavyaction","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1261"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1323"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=1323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}