{"id":313,"date":"2019-11-01T14:10:42","date_gmt":"2019-11-01T14:10:42","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/maintenance\/amount-of-event-handlers-on-entity\/"},"modified":"2020-02-24T11:45:03","modified_gmt":"2020-02-24T11:45:03","slug":"eventhandleramount","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/eventhandleramount","title":{"rendered":"Entity should have a maximum of N event handlers"},"content":{"rendered":"\n<table class=\"wp-block-table\"><tbody><tr><td>\n  Checks if entity has too many event\n  handlers\n  <\/td><\/tr><tr><td>\n  Some architects do not want to use any\n  event handlers in Mendix since it is not very clear that the execute in the\n  flow of a microflow on the commit.\n  <\/td><\/tr><tr><td>\n  Add an integer value that constrains the\n  max amount of event handlers per entity.\n  <\/td><\/tr><\/tbody><\/table>\n","protected":false},"featured_media":0,"parent":98,"menu_order":10,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-313","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/313"}],"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=313"}],"version-history":[{"count":2,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/313\/revisions"}],"predecessor-version":[{"id":873,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/313\/revisions\/873"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/98"}],"next":[{"title":"Entity should have a maximum of N non-required validation rules","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/validationruleamount1","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/311"}],"prev":[{"title":"Entity should have a maximum of N attributes","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/attributeamount","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/315"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=313"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}