{"id":1320,"date":"2020-02-25T13:02:08","date_gmt":"2020-02-25T13:02:08","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/performance\/calculated-attributes-should-have-fast-actions\/"},"modified":"2022-04-14T08:29:26","modified_gmt":"2022-04-14T08:29:26","slug":"entitycalculatedattributeheavyaction","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/performance\/entitycalculatedattributeheavyaction","title":{"rendered":"Calculated attributes should only have fast actions"},"content":{"rendered":"\n<p> Released in version 1.6 (03 March 2020) <\/p>\n\n\n\n<p>Calculated attribute microflows are executed on every retrieve. So they should be really fast and not allow any heavy action, with the exception of a retrieve, since one of the reasons for a calculated attribute is to collect and present data.<\/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":0,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1320","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1320"}],"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=1320"}],"version-history":[{"count":4,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1320\/revisions"}],"predecessor-version":[{"id":1356,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1320\/revisions\/1356"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/95"}],"next":[{"title":"Commit entities in the same order in different microflows to prevent deadlock","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/performance\/projectdeadlock","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1503"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1320"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=1320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}