{"id":39670,"date":"2018-06-29T10:51:20","date_gmt":"2018-06-29T02:51:20","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=39670"},"modified":"2024-06-07T15:14:58","modified_gmt":"2024-06-07T07:14:58","slug":"triggers","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/triggers\/","title":{"rendered":"Triggers"},"content":{"rendered":"\n<p class=\"left-bar\">This article applies to versions 4.6.1 and later of IFS OI Explorer.<\/p>\n<p class=\"overview\">Triggers are actions that you can add to a page, in order to control how certain variables behave on the page.<\/p>\n<p class=\"intro-text\">A trigger is a special type of component in Explorer, whose job it is to watch a variable on the page, and then do some type of action when this variable changes.<\/p>\n<p class=\"intro-text\">Triggers are useful for adding advanced interactions to a page, by regulating variables to conform to certain rules.<\/p>\n<p class=\"intro-text\">An example of a trigger is the Hierarchy Query. This trigger watches for the user to select an entity. Any time the selected entity changes, the trigger will run and return a list of child entities.<\/p>\n<p class=\"intro-text\">Triggers are accessed via the ribbon in Explorer Studio, and are only visible to the page designer.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Triggers.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-39678 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Triggers.png\" alt=\"\" width=\"924\" height=\"343\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Triggers.png 924w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Triggers-768x285.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Triggers-150x56.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Triggers-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Triggers-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Triggers-48x18.png 48w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Types of Triggers<\/h2>\n<p class=\"intro-text\">IFS OI Explorer currently offers three types of triggers. Click the links below to see detailed information and tutorials on how to use each trigger.<\/p>\n<table class=\"intro-text\">\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 5px;\" width=\"135\"><strong><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/triggers\/hierarchy-query\/\">Hierarchy Query<\/a><\/strong><\/td>\n<td>Generates a list of child entities from a hierarchy, for a selected entity. This is useful when using an asset model to display entities, but you want to restrict the type of entities displayed depending on the template and level in a hierarchy.<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 5px;\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/triggers\/relative-time\/\"><strong>Relative Time<\/strong><\/a><\/td>\n<td>Sets a time difference between two <em>datetime<\/em> variables on a page. It does this by applying a specified time offset to an input variable, and designating this new time to an output variable. The time difference is a period of time either before or after the input time. The output variable can be used elsewhere on the page, effectively allowing you to have a relative time that keeps pace with the date and time that you are selecting.<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 5px;\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/triggers\/explore-panel\/\"><strong>Explore Panel<\/strong><\/a><\/td>\n<td>Opens the Explore panel, every time the configured variable changes. Currently this opens the Explore panel for Cases, and the required variable is a case id.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Adding a Trigger<\/h2>\n<p class=\"intro-text\">Triggers are only available from Explorer Studio, while designing a page.<\/p>\n<p class=\"intro-text\">To open the Triggers panel, click the <strong>Triggers<\/strong> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-33455 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/11\/trigger-icon.png\" alt=\"\" width=\"16\" height=\"30\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/11\/trigger-icon.png 16w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/11\/trigger-icon-13x24.png 13w\" sizes=\"auto, (max-width: 16px) 100vw, 16px\" \/> button in the <em>Configuration<\/em> group on the Studio ribbon tab.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Click-Triggers.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-39683 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Click-Triggers.png\" alt=\"\" width=\"839\" height=\"188\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Click-Triggers.png 839w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Click-Triggers-768x172.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Click-Triggers-150x34.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Click-Triggers-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Click-Triggers-36x8.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Click-Triggers-48x11.png 48w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><\/a><\/p>\n<p class=\"intro-text\">The <strong>Triggers<\/strong> panel on the right shows the available triggers.<\/p>\n<p class=\"intro-text\">To add a trigger, click the <strong>Add<\/strong> button next to the type of trigger you want to add.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Add-new-trigger.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-39682\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Add-new-trigger.png\" alt=\"\" width=\"1000\" height=\"272\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Add-new-trigger.png 1200w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Add-new-trigger-768x209.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Add-new-trigger-150x41.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Add-new-trigger-24x7.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Add-new-trigger-36x10.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Add-new-trigger-48x13.png 48w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\">Then, click the arrow next to the trigger to expand its <strong>configuration<\/strong> options.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Configure-trigger.png\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-39681 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Configure-trigger.png\" alt=\"\" width=\"668\" height=\"224\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Configure-trigger.png 668w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Configure-trigger-150x50.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Configure-trigger-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Configure-trigger-36x12.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Configure-trigger-48x16.png 48w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\">To <strong>remove<\/strong> a trigger, click the bin <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-16697 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/07\/deleteicon.png\" alt=\"Delete bin trash icon\" width=\"17\" height=\"18\" \/> icon next to it.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Remove-trigger.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-39680 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Remove-trigger.png\" alt=\"\" width=\"682\" height=\"190\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Remove-trigger.png 682w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Remove-trigger-150x42.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Remove-trigger-24x7.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Remove-trigger-36x10.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/06\/Remove-trigger-48x13.png 48w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2 class=\"page-subheading\">Release History<\/h2>\n<ul class=\"intro-text\">\n<li class=\"overview\">Triggers 4.6.1 (this release)\n<ul class=\"overview\">\n<li>New <strong>Explore Panel<\/strong> trigger type<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/triggers\/triggers-4-5-4\">Triggers 4.5.4<\/a>\n<ul class=\"intro-text\">\n<li>Triggers first introduced<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Triggers are useful for adding advanced interactions to a page, by regulating variables to conform to certain rules. <\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/triggers\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":8,"featured_media":29134,"parent":478,"menu_order":49,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[11],"tags":[649,584,587],"class_list":["post-39670","page","type-page","status-publish","has-post-thumbnail","hentry","category-tutorial","tag-explore-panel","tag-hierarchy-query","tag-trigger","Product-ex"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/39670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=39670"}],"version-history":[{"count":2,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/39670\/revisions"}],"predecessor-version":[{"id":67084,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/39670\/revisions\/67084"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/478"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/29134"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=39670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=39670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=39670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}