{"id":42928,"date":"2018-12-07T07:50:52","date_gmt":"2018-12-06T23:50:52","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=42928"},"modified":"2020-11-11T17:48:22","modified_gmt":"2020-11-11T09:48:22","slug":"dynamic-stream","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/dynamic-stream\/","title":{"rendered":"Dynamic Stream"},"content":{"rendered":"\n<p class=\"intro-text\">The Dynamic Stream components are used to properly handle the calculation of rolling sums in a user process.<\/p>\n<h2 class=\"page-subheading\">Dynamic Stream<\/h2>\n<p class=\"intro-text\">The Dynamic Stream component calculates the rolling sum of the input data set and forwards the result to the output pin.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43227 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-82.png\" alt=\"\" width=\"102\" height=\"18\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-82.png 102w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-82-24x4.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-82-36x6.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-82-48x8.png 48w\" sizes=\"auto, (max-width: 102px) 100vw, 102px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"dl-term\">Dynamic Stream Name<\/p>\n<p class=\"dl-def\">The name of the Dynamic Stream component that is to have its data cleared.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-def\">The output pin is used to invoke a component that will perform some processing. This component is essentially designed as an input component, which may be linked to the following data components:<\/p>\n<ul class=\"intro-text\">\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data\/#Get_Single\">Get Single<\/a><\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data\/#Get_Window\">Get Window<\/a><\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data\/#Get_Window_From\">Get Window From<\/a><\/li>\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data\/#Get_Window_Start_Filter\">Get Window Start Filter<\/a><\/li>\n<\/ul>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the component labelled \u2018Exceedances\u2019 is the Dynamic Stream component. If the <em>Input<\/em> value is greater than the <em>Limit<\/em>, the value is written to the Exceedances dynamic stream. If the number of values in the dynamic stream is greater than the <em>Exceedance Count Limit<\/em>, an event is raised and the state changes to the <em>Exceedance breech<\/em> state. If during subsequent processing an event is raised that then changes the state back to <em>Default<\/em>, the <em>Exceedances<\/em> dynamic stream is purged.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-83.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43228 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-83.png\" alt=\"\" width=\"1139\" height=\"380\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-83.png 1139w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-83-768x256.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-83-150x50.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-83-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-83-36x12.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-83-48x16.png 48w\" sizes=\"auto, (max-width: 1139px) 100vw, 1139px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Purge Dynamic Stream<\/h2>\n<p class=\"intro-text\">The Purge Dynamic Stream component clears all data in the specified Dynamic Stream.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43229 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-84.png\" alt=\"\" width=\"141\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-84.png 141w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-84-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-84-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-84-48x17.png 48w\" sizes=\"auto, (max-width: 141px) 100vw, 141px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"dl-term\">Dynamic Stream Name<\/p>\n<p class=\"dl-def\">The name of the Dynamic Stream component that is to have its data cleared.<\/p>\n<p class=\"no-toc-heading\">Inputs<\/p>\n<p class=\"dl-term\">Flow <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The component that acts as a trigger for this component should be connected to this pin.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Flow\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The output pin is a flow pin that directs the process flow but does not pass any data. This pin is optional and is only followed if an error does not occur. Not connecting this pin will produce a warning.<\/p>\n<h2 class=\"page-subheading\">Write Dynamic Stream<\/h2>\n<p class=\"intro-text\">The Write Dynamic Stream component writes a point of data to a nominated Dynamic Stream.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43232 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-90.png\" alt=\"\" width=\"140\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-90.png 140w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-90-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-90-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-90-48x17.png 48w\" sizes=\"auto, (max-width: 140px) 100vw, 140px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"dl-term\">Dynamic Stream Name<\/p>\n<p class=\"dl-def\">The name of the Dynamic Stream that is to be written to.<\/p>\n<p class=\"no-toc-heading\">Inputs<\/p>\n<p class=\"dl-term\">Flow\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The component that acts as a trigger for this component should be connected to this pin. This pin is optional.<\/p>\n<p class=\"dl-term\">Mixed <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-17.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42985 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-17.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The input pin is mandatory and is used to supply the data that is to be written to the Dynamic Stream. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Mixed\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-17.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42985 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-17.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The output pin is used to join the component to the rest of the process flow. Not connecting this pin will produce a warning.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/sentinel-studio-primers\/\">Sentinel Studio Primers<\/a>,\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/creating-a-new-user-process\/\">Creating a User Process<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/usage-examples\/\">Usage Examples<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Dynamic Stream components in Sentinel Studio are used to properly handle the calculation of rolling sums in a Sentinel user process.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/dynamic-stream\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":43241,"parent":42147,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[698,710,732,752,753,754,696,711,726,694],"class_list":["post-42928","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-components-sentinel","tag-dynamic-stream","tag-get-single","tag-get-window","tag-get-window-from","tag-get-window-start-filter","tag-process-component","tag-rolling-sums","tag-studio-sentinel","tag-user-process","Version-4-6-1","Product-sen"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42928","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=42928"}],"version-history":[{"count":1,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42928\/revisions"}],"predecessor-version":[{"id":46325,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42928\/revisions\/46325"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42147"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/43241"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=42928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=42928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=42928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}