{"id":9805,"date":"2025-05-01T08:44:54","date_gmt":"2025-05-01T08:44:54","guid":{"rendered":"http:\/\/Ines%20Prespjanin"},"modified":"2025-05-01T08:44:54","modified_gmt":"2025-05-01T08:44:54","password":"","slug":"sql-integration-triggering-options-execution-mode","status":"publish","type":"docs","link":"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/","title":{"rendered":"Triggering options and Execution mode"},"content":{"rendered":"\n<h1 class=\"wp-block-heading has-text-color has-link-color has-large-font-size wp-elements-8d2e583582f9859bbf89397ce673821b\" style=\"color:#384052\">Trigger-related options<\/h1>\n\n\n\n<p>Operating on a trigger-action principle, rules require a defined trigger to initiate an action.<\/p>\n\n\n\n<p>Several fields must be specified to activate a rule:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li> <a href=\"#trigger-type-sql\">Trigger type<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/extensionkit.unitfly.com\/documentation\/common-features\/#trigger-source\" target=\"_blank\" rel=\"noreferrer noopener\">Trigger source<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/extensionkit.unitfly.com\/documentation\/common-features\/#monitoredpropertiescommon\" target=\"_blank\" rel=\"noreferrer noopener\">Monitored properties<\/a> (optional)<\/li>\n<\/ul>\n\n\n\n<p>Below, see the description for\u00a0<strong>Trigger type<\/strong>.\u00a0For details on\u00a0<strong>Trigger source<\/strong> and <strong>Monitored properties<\/strong>, please see\u00a0<a href=\"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-query-rollback-query\/\" target=\"_blank\" rel=\"noreferrer noopener\">this page<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-dots\"\/>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\" id=\"trigger-type-sql\">Trigger type<\/h2>\n\n\n\n<p>Trigger type denotes the event that initiates rule execution. Choose from the following options:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Object created<\/strong>: Choose this option to execute the rule upon creation of the source object.<\/li>\n\n\n\n<li><strong>Object changed (default)<\/strong>: Choose this option to execute the rule whenever any change is made to the source object. The&nbsp;<a href=\"https:\/\/extensionkit.unitfly.com\/documentation\/common-features\/#monitoredpropertiescommon\" target=\"_blank\" rel=\"noreferrer noopener\">Monitored properties<\/a>&nbsp;field becomes available.<\/li>\n\n\n\n<li><strong>Object metadata changed<\/strong>: Choose this option to execute the rule when the metadata of the source object is changed. The&nbsp;<a href=\"https:\/\/extensionkit.unitfly.com\/documentation\/common-features\/#monitoredpropertiescommon\" target=\"_blank\" rel=\"noreferrer noopener\">Monitored properties<\/a>&nbsp;field becomes available.<\/li>\n\n\n\n<li><strong>Object changed state<\/strong>: Choose this option to execute the rule when the source object undergoes a workflow state change.<\/li>\n\n\n\n<li><strong>Object entered state<\/strong>: Choose this option to execute the rule when the source object enters a specific workflow state.<\/li>\n\n\n\n<li><strong>Object left state<\/strong>: Choose this option to execute the rule when the source object leaves a specific workflow state.<\/li>\n\n\n\n<li><strong>Object deleted<\/strong>: Choose this option to execute the rule when the source object is deleted.<\/li>\n\n\n\n<li><strong>Object destroyed<\/strong>: Choose this option to execute the rule when the source object is destroyed. Upon selection, the <strong>Object type<\/strong> field opens up for specifying the object type.<\/li>\n\n\n\n<li><strong>On comment<\/strong>: Choose this option to execute the rule whenever a comment is added to the source object.<\/li>\n\n\n\n<li><strong>Scheduled<\/strong>: Choose this option to execute the rule at a specific time and\/or on specific days. The&nbsp;<a href=\"https:\/\/extensionkit.unitfly.com\/documentation\/common-features\/#schedulecommon\" target=\"_blank\" rel=\"noreferrer noopener\">Schedule<\/a>&nbsp;option becomes available.<\/li>\n\n\n\n<li><strong>RunOnce<\/strong>: Choose this option to execute the rule only once and on all matching objects in the vault.<\/li>\n\n\n\n<li><strong>Orchestrated<\/strong>: In cases where multiple rules are connected to the same source and trigger, choose this option to execute the rules sequentially, according to a defined order.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\">Execution mode<\/h2>\n\n\n\n<p>Defines when the rule is executed. For more details on this feature, please refer to the <a href=\"https:\/\/extensionkit.unitfly.com\/documentation\/rule-execution\/\" target=\"_blank\" rel=\"noreferrer noopener\">Rule execution<\/a> page.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>EventHandler (default)<\/strong>: The rule is executed during object check-in.<\/li>\n\n\n\n<li><strong>BackgroundTransaction<\/strong>: The rule is executed after the object has been checked in.<\/li>\n\n\n\n<li><strong>Background:<\/strong>&nbsp;The rule is executed as a task in the background after the object has been checked in.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Trigger-related options Operating on a trigger-action principle, rules require a defined trigger to initiate an action. Several fields must be specified to activate a rule: Below, see the description for\u00a0Trigger type.\u00a0For details on\u00a0Trigger source and Monitored properties, please see\u00a0this page. Trigger type Trigger type denotes the event that initiates rule execution. Choose from the following [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":9872,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[317],"doc_tag":[],"knowledge_base":[273],"class_list":["post-9805","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-sql-integration-simple-rule-configuration","knowledge_base-documentation-extension-kit-for-m-files"],"year_month":"2026-05","word_count":384,"total_views":"467","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Katarina \u0160ari\u0107","author_nicename":"katarinasaric","author_url":"https:\/\/extensionkit.unitfly.com\/insights\/author\/katarinasaric\/"},"doc_category_info":[{"term_name":"Simple Rule Configuration","term_url":"https:\/\/extensionkit.unitfly.com\/documentation\/documentation-extension-kit-for-m-files\/sql-integration-simple-rule-configuration\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Triggering options and Execution mode - Extension Kit for M-Files | Unitfly<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Triggering options and Execution mode - Extension Kit for M-Files | Unitfly\" \/>\n<meta property=\"og:description\" content=\"Trigger-related options Operating on a trigger-action principle, rules require a defined trigger to initiate an action. Several fields must be specified to activate a rule: Below, see the description for\u00a0Trigger type.\u00a0For details on\u00a0Trigger source and Monitored properties, please see\u00a0this page. Trigger type Trigger type denotes the event that initiates rule execution. Choose from the following [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/\" \/>\n<meta property=\"og:site_name\" content=\"Extension Kit for M-Files | Unitfly\" \/>\n<meta property=\"og:image\" content=\"https:\/\/extensionkit.unitfly.com\/wp-content\/uploads\/2024\/07\/Unitfly-Toolkit-for-M-Files_color-1-3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"590\" \/>\n\t<meta property=\"og:image:height\" content=\"449\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/documentation\\\/sql-integration-triggering-options-execution-mode\\\/\",\"url\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/documentation\\\/sql-integration-triggering-options-execution-mode\\\/\",\"name\":\"Triggering options and Execution mode - Extension Kit for M-Files | Unitfly\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/documentation\\\/sql-integration-triggering-options-execution-mode\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/documentation\\\/sql-integration-triggering-options-execution-mode\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Unitfly-Toolkit-for-M-Files_color-1-3.png\",\"datePublished\":\"2025-05-01T08:44:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/documentation\\\/sql-integration-triggering-options-execution-mode\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/extensionkit.unitfly.com\\\/documentation\\\/sql-integration-triggering-options-execution-mode\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/documentation\\\/sql-integration-triggering-options-execution-mode\\\/#primaryimage\",\"url\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Unitfly-Toolkit-for-M-Files_color-1-3.png\",\"contentUrl\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/Unitfly-Toolkit-for-M-Files_color-1-3.png\",\"width\":590,\"height\":449},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/documentation\\\/sql-integration-triggering-options-execution-mode\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Triggering options and Execution mode\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/#website\",\"url\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/\",\"name\":\"Extension Kit for M-Files | Unitfly\",\"description\":\"Simplify, accelerate, and enhance M-Files implementations.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/extensionkit.unitfly.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Triggering options and Execution mode - Extension Kit for M-Files | Unitfly","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/","og_locale":"en_US","og_type":"article","og_title":"Triggering options and Execution mode - Extension Kit for M-Files | Unitfly","og_description":"Trigger-related options Operating on a trigger-action principle, rules require a defined trigger to initiate an action. Several fields must be specified to activate a rule: Below, see the description for\u00a0Trigger type.\u00a0For details on\u00a0Trigger source and Monitored properties, please see\u00a0this page. Trigger type Trigger type denotes the event that initiates rule execution. Choose from the following [&hellip;]","og_url":"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/","og_site_name":"Extension Kit for M-Files | Unitfly","og_image":[{"width":590,"height":449,"url":"https:\/\/extensionkit.unitfly.com\/wp-content\/uploads\/2024\/07\/Unitfly-Toolkit-for-M-Files_color-1-3.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/","url":"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/","name":"Triggering options and Execution mode - Extension Kit for M-Files | Unitfly","isPartOf":{"@id":"https:\/\/extensionkit.unitfly.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/#primaryimage"},"image":{"@id":"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/#primaryimage"},"thumbnailUrl":"https:\/\/extensionkit.unitfly.com\/wp-content\/uploads\/2024\/07\/Unitfly-Toolkit-for-M-Files_color-1-3.png","datePublished":"2025-05-01T08:44:54+00:00","breadcrumb":{"@id":"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/#primaryimage","url":"https:\/\/extensionkit.unitfly.com\/wp-content\/uploads\/2024\/07\/Unitfly-Toolkit-for-M-Files_color-1-3.png","contentUrl":"https:\/\/extensionkit.unitfly.com\/wp-content\/uploads\/2024\/07\/Unitfly-Toolkit-for-M-Files_color-1-3.png","width":590,"height":449},{"@type":"BreadcrumbList","@id":"https:\/\/extensionkit.unitfly.com\/documentation\/sql-integration-triggering-options-execution-mode\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/extensionkit.unitfly.com\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/extensionkit.unitfly.com\/documentation\/"},{"@type":"ListItem","position":3,"name":"Triggering options and Execution mode"}]},{"@type":"WebSite","@id":"https:\/\/extensionkit.unitfly.com\/#website","url":"https:\/\/extensionkit.unitfly.com\/","name":"Extension Kit for M-Files | Unitfly","description":"Simplify, accelerate, and enhance M-Files implementations.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/extensionkit.unitfly.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"knowledge_base_info":[{"term_name":"Extension Kit Core","term_url":"https:\/\/extensionkit.unitfly.com\/documentation\/documentation-extension-kit-for-m-files\/","term_slug":"documentation-extension-kit-for-m-files"}],"knowledge_base_slug":["documentation-extension-kit-for-m-files"],"_links":{"self":[{"href":"https:\/\/extensionkit.unitfly.com\/wp-json\/wp\/v2\/docs\/9805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/extensionkit.unitfly.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/extensionkit.unitfly.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/extensionkit.unitfly.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/extensionkit.unitfly.com\/wp-json\/wp\/v2\/comments?post=9805"}],"version-history":[{"count":0,"href":"https:\/\/extensionkit.unitfly.com\/wp-json\/wp\/v2\/docs\/9805\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extensionkit.unitfly.com\/wp-json\/wp\/v2\/media\/9872"}],"wp:attachment":[{"href":"https:\/\/extensionkit.unitfly.com\/wp-json\/wp\/v2\/media?parent=9805"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/extensionkit.unitfly.com\/wp-json\/wp\/v2\/doc_category?post=9805"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/extensionkit.unitfly.com\/wp-json\/wp\/v2\/doc_tag?post=9805"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/extensionkit.unitfly.com\/wp-json\/wp\/v2\/knowledge_base?post=9805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}