{"id":42927,"date":"2018-12-07T14:15:06","date_gmt":"2018-12-07T06:15:06","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=42927"},"modified":"2020-11-11T17:48:17","modified_gmt":"2020-11-11T09:48:17","slug":"data-set","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data-set\/","title":{"rendered":"Data Set"},"content":{"rendered":"\n<p class=\"intro-text\">The Data Set components allow you to work on sets of data as opposed to single data points.<\/p>\n<h2 class=\"page-subheading\">\u03a3 (SUM)<\/h2>\n<p class=\"intro-text\">The \u03a3 (SUM) component calculates the sum of the data points in 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-43529 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-138.png\" alt=\"\" width=\"64\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-138.png 64w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-138-24x19.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-138-36x28.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-138-48x38.png 48w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The set of data points to calculate as a sum. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The sum of the data points in the data set. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, an hour's worth of data is retrieved and the data point values are summed. If the resulting sum is greater than 60, an event is raised and the state of the entity changes to High. Otherwise, an event is raised and the state of the entity changes to Default.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-172.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43534 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-172.png\" alt=\"\" width=\"947\" height=\"190\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-172.png 947w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-172-768x154.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-172-150x30.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-172-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-172-36x7.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-172-48x10.png 48w\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Average<\/h2>\n<p class=\"intro-text\">The Average component calculates the arithmetic mean 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-43535 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-177.png\" alt=\"\" width=\"64\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-177.png 64w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-177-24x19.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-177-36x28.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-177-48x38.png 48w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The set of data points for which to calculate the average. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The average of the data points. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the Daily Oil data for the first week of the year is retrieved. The values obtained over that first week are averaged. If the average is greater than 100,000, an event is raised and the state of the entity changes to Above. Otherwise, an event is raised and the state of the entity changes to Below.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-191.png\" rel=\"lightbox-9\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43540 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-191.png\" alt=\"\" width=\"885\" height=\"162\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-191.png 885w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-191-768x141.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-191-150x27.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-191-24x4.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-191-36x7.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-191-48x9.png 48w\" sizes=\"auto, (max-width: 885px) 100vw, 885px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Count<\/h2>\n<p class=\"intro-text\">The Count component retrieves the number of data points in the data set and forwards it to the output pin.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43541 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-198.png\" alt=\"\" width=\"53\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-198.png 53w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-198-24x24.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-198-36x34.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-198-48x45.png 48w\" sizes=\"auto, (max-width: 53px) 100vw, 53px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The number of data points in the data set. Not connecting this pin will produce a warning.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the number of data points are retrieved for the previous 7 days. If the number of data points is greater than 7, an event is raised and the state of the entity changes to Above. Otherwise, an event is raised and the state of the entity changes to Below.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-206.png\" rel=\"lightbox-13\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43545 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-206.png\" alt=\"\" width=\"853\" height=\"175\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-206.png 853w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-206-768x158.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-206-150x31.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-206-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-206-36x7.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-206-48x10.png 48w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Get First<\/h2>\n<p class=\"intro-text\">The Get First component retrieves the first data point from the input data set and forwards it to the appropriate output, depending on the data type.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43546 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-207.png\" alt=\"\" width=\"64\" height=\"54\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-207.png 64w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-207-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-207-36x30.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-207-48x41.png 48w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">If the data point retrieved is a number value, the process follows this path. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">Text <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" rel=\"lightbox-17\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42981 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">If the data point retrieved is a text value, the process follows this path. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the input data is compared with the data from the previous day to see if it is above or below the previous day's value. We use the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data\/#Get_Window_From\">Get Window From<\/a> component to retrieve the previous day's data, ending at the current timestamp.<\/p>\n<p class=\"intro-text\">The previous day's value is obtained by using the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data-set\/#Get_First\">Get First<\/a> component to retrieve the first value in the data set supplied by Get Window From.<\/p>\n<p class=\"intro-text\">We then compare that value with the current value obtained by the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data\/#Get_Single\">Get Single<\/a> component.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-215.png\" rel=\"lightbox-19\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43552 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-215.png\" alt=\"\" width=\"992\" height=\"223\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-215.png 992w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-215-768x173.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-215-150x34.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-215-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-215-36x8.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-215-48x11.png 48w\" sizes=\"auto, (max-width: 992px) 100vw, 992px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Get Index<\/h2>\n<p class=\"intro-text\">The Get Index component retrieves the data point at the specified index from the input data set. It forwards the data point to the appropriate output, depending on the data type.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43553 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-216.png\" alt=\"\" width=\"71\" height=\"54\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-216.png 71w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-216-24x18.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-216-36x27.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-216-48x37.png 48w\" sizes=\"auto, (max-width: 71px) 100vw, 71px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"dl-term\">idx\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The index from which to retrieve the data point, with 0 being the first data point, 1 being the next, and so on. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The numerical value of the data point at the specified index. Not connecting this output pin will produce a warning.<\/p>\n<p class=\"dl-term\">Text\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" rel=\"lightbox-17\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42981 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The text value of the data point at the specified index. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set or the index is out-of-range (0 \u2264 index &lt; count), the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, a set of data points is retrieved from the past day. The Get Index component needs an index in order to retrieve the value that is to be evaluated. The process flows backwards to retrieve the user's selection (A-D), which is used to provide the index number. The value is retrieved from the data set for processing. If the value is greater than a maximum value, an event is raised and the state of the entity changes to Above.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-229.png\" rel=\"lightbox-26\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43560 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-229.png\" alt=\"\" width=\"751\" height=\"214\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-229.png 751w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-229-150x43.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-229-24x7.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-229-36x10.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-229-48x14.png 48w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Get Last<\/h2>\n<p class=\"intro-text\">The Get Last component retrieves the last data point from the input data set and forwards it to the appropriate output, depending on the data type.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43561 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-230.png\" alt=\"\" width=\"63\" height=\"54\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-230.png 63w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-230-24x21.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-230-36x31.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-230-48x41.png 48w\" sizes=\"auto, (max-width: 63px) 100vw, 63px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">If the data point retrieved is a number value, the process follows this path. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">Text\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" rel=\"lightbox-17\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42981 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">If the data point retrieved is a text value, the process follows this path. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, a current data point is compared with the previous day's value of the same data point. Rather than retrieving the entire 24-hour period of data, it only retrieves data for the minute before the start of that time period. It then takes the last value of that minute of data, and compares it with the current value.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-238.png\" rel=\"lightbox-32\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43567 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-238.png\" alt=\"\" width=\"1126\" height=\"223\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-238.png 1126w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-238-768x152.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-238-150x30.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-238-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-238-36x7.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-238-48x10.png 48w\" sizes=\"auto, (max-width: 1126px) 100vw, 1126px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Get Subset<\/h2>\n<p class=\"intro-text\">The Get Subset component retrieves part of an input data set, starting and ending at the specified indexes.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43568 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-241.png\" alt=\"\" width=\"78\" height=\"66\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-241.png 78w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-241-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-241-36x30.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-241-48x41.png 48w\" sizes=\"auto, (max-width: 78px) 100vw, 78px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"dl-term\">start\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The index that corresponds to the start of the subset, with 0 being the first data point, 1 being the next, and so on. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"dl-term\">end\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The index that corresponds to the end of the subset, with 0 being the first data point, 1 being the next, and so on. This must be of a higher index than the start index. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The resulting subset of data. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data-set\/#Get_Subset\">Get Subset<\/a> component receives 31 days of data. The user is asked to selected the start and end point to obtain the desired subset. The subset of data is then averaged and compared with a target, and events are raised accordingly.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-252.png\" rel=\"lightbox-39\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43575 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-252.png\" alt=\"\" width=\"839\" height=\"251\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-252.png 839w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-252-768x230.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-252-150x45.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-252-24x7.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-252-36x11.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-252-48x14.png 48w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Integral<\/h2>\n<p class=\"intro-text\">The Integral component calculates an approximation of the integral of the input data set over or under a value.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43576 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-253.png\" alt=\"\" width=\"61\" height=\"66\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-253.png 61w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-253-22x24.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-253-33x36.png 33w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-253-44x48.png 44w\" sizes=\"auto, (max-width: 61px) 100vw, 61px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"dl-term\">value\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The value over which the integral will be calculated. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">over <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-15.png\" rel=\"lightbox-43\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42983 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-15.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">If true, the integral over a specified value is calculated. If false, the integral under a specified value is calculated. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The integral value in the data set. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the integral value of a data set is calculated. If the Primary Input is greater than the Primary Limit, the Integral component calculates the integral of the Primary Input over the value of 3; otherwise the component calculates the integral of the Primary Input under the value of 3. If the value of the integral is greater than 5, an event is raised and the state of the entity changes to True. Otherwise, an event is raised and the state of the entity changes to False.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-263.png\" rel=\"lightbox-46\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43583 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-263.png\" alt=\"\" width=\"1019\" height=\"310\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-263.png 1019w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-263-768x234.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-263-150x46.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-263-24x7.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-263-36x11.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-263-48x15.png 48w\" sizes=\"auto, (max-width: 1019px) 100vw, 1019px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Join Data Set<\/h2>\n<p class=\"intro-text\">The Join Data Set component converts every data item in the data set to text, delimited by the text specified on the <em>joiner<\/em> pin. The resulting delimited output may also be prepended and\/or appended with the joiner text.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43584 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-264.png\" alt=\"\" width=\"89\" height=\"66\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-264.png 89w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-264-24x18.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-264-36x27.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-264-48x36.png 48w\" sizes=\"auto, (max-width: 89px) 100vw, 89px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">joiner\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" rel=\"lightbox-17\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42981 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The text that is used to delimit the text in the data set. Typically, you would use a constant consisting of a single character, such as a colon, comma, or hyphen. You can also specify a space character here.<\/p>\n<p class=\"dl-term\">prepen\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" rel=\"lightbox-17\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42981 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The text that is placed at the beginning of the output.<\/p>\n<p class=\"dl-term\">append\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" rel=\"lightbox-17\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42981 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The text that is placed at the end of the output.<\/p>\n<p class=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Text\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" rel=\"lightbox-17\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42981 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The delimited text that is produced from the data set. For example, (1:2:3:4:5). Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the data set is split into two flows. The first flow takes the data set and delimits each data point with a colon. The resultant string has brackets placed before and after it. This is then recorded in the logging infrastructure, and the rest of the process proceeds as normal.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-272.png\" rel=\"lightbox-54\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43592 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-272.png\" alt=\"\" width=\"926\" height=\"228\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-272.png 926w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-272-768x189.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-272-150x37.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-272-24x6.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-272-36x9.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-272-48x12.png 48w\" sizes=\"auto, (max-width: 926px) 100vw, 926px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Maximum<\/h2>\n<p class=\"intro-text\">The Maximum component retrieves the highest value of the data points in the data set and forwards it to the output pin.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43593 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-273.png\" alt=\"\" width=\"73\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-273.png 73w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-273-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-273-36x25.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-273-48x33.png 48w\" sizes=\"auto, (max-width: 73px) 100vw, 73px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The maximum value in the data set. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the maximum value is calculated for the data retrieved from the previous 7 days. If the maximum is greater than 100,000, an event is raised and the state of the entity changes to Above. Otherwise, an event is raised and the state of the entity changes to Below.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-278.png\" rel=\"lightbox-59\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43598 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-278.png\" alt=\"\" width=\"851\" height=\"179\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-278.png 851w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-278-768x162.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-278-150x32.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-278-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-278-36x8.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-278-48x10.png 48w\" sizes=\"auto, (max-width: 851px) 100vw, 851px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Median<\/h2>\n<p class=\"intro-text\">The Median component calculates the middle data point from the input data set and forwards it to the output pin. If the data set contains an even number of data points, the median is the arithmetic average of the two middle values.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43599 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-279.png\" alt=\"\" width=\"60\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-279.png 60w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-279-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-279-36x30.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-279-48x40.png 48w\" sizes=\"auto, (max-width: 60px) 100vw, 60px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The median value of the data set. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the median value is calculated for the data retrieved from the previous 7 days. If the median is greater than 100,000, an event is raised and the state of the entity changes to Above. Otherwise, an event is raised and the state of the entity changes to Below.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-284.png\" rel=\"lightbox-64\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43604 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-284.png\" alt=\"\" width=\"792\" height=\"170\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-284.png 792w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-284-768x165.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-284-150x32.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-284-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-284-36x8.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-284-48x10.png 48w\" sizes=\"auto, (max-width: 792px) 100vw, 792px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Minimum<\/h2>\n<p class=\"intro-text\">The Minimum component retrieves the lowest value of the data points in the data set and forwards it to the output pin.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43605 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-285.png\" alt=\"\" width=\"71\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-285.png 71w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-285-24x17.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-285-36x25.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-285-48x34.png 48w\" sizes=\"auto, (max-width: 71px) 100vw, 71px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The minimum value in the data set. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the minimum value is calculated for the data retrieved from the previous 7 days. If the minimum is greater than 10,000, an event is raised and the state of the entity changes to Above. Otherwise, an event is raised and the state of the entity changes to Below.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-290.png\" rel=\"lightbox-69\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43610 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-290.png\" alt=\"\" width=\"815\" height=\"169\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-290.png 815w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-290-768x159.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-290-150x31.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-290-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-290-36x7.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-290-48x10.png 48w\" sizes=\"auto, (max-width: 815px) 100vw, 815px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Pearson<\/h2>\n<p class=\"intro-text\">The Pearson component calculates the Pearson product-moment correlation coefficient of the two input data sets and forwards the result to the output pin. The result is a decimal value ranging from -1 to 1.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43611 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-291.png\" alt=\"\" width=\"71\" height=\"56\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-291.png 71w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-291-24x19.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-291-36x28.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-291-48x38.png 48w\" sizes=\"auto, (max-width: 71px) 100vw, 71px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set X\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The <strong>X<\/strong> set of data points, used for the <strong>X<\/strong> array in the correlation calculation. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"dl-term\">Data Set Y\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The <strong>Y<\/strong> set of data points, used for <strong>Y<\/strong> array in the correlation calculation. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The Pearson calculation output of the two data sets. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If the number of data points is not the same in both data sets, the calculation fails and the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"dl-term\">div0\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If the calculation results in a divide by zero error, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, two input data sets (X Values and Y Values, each using 4 data points), are used as inputs in a Pearson component used to calculate their correlation (a value between -1 and 1). The process has a warning \u2018Cannot divide by 0\u2019 for a divide by zero error, and another warning, \u2018Number of Data points are different\u2019 if the number of data points differs between the two data sets.<\/p>\n<p class=\"intro-text\">If the calculated Pearson output is greater than the <strong>Max Limit<\/strong> value, an event is raised, with a <strong>Max Exceeded<\/strong> state. Otherwise, an event is raised, with a <strong>Default<\/strong> state. Both events include the Pearson value as metadata.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-298.png\" rel=\"lightbox-76\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43618 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-298.png\" alt=\"\" width=\"875\" height=\"262\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-298.png 875w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-298-768x230.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-298-150x45.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-298-24x7.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-298-36x11.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-298-48x14.png 48w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">R Squared<\/h2>\n<p class=\"intro-text\">The R Squared component calculates the square of the Pearson product-moment correlation coefficient of the two input data sets, and forwards the result to the output pin. The result is a decimal value ranging from 0 to1.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43619 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-299.png\" alt=\"\" width=\"81\" height=\"67\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-299.png 81w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-299-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-299-36x30.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-299-48x40.png 48w\" sizes=\"auto, (max-width: 81px) 100vw, 81px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set X\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The <strong>X<\/strong> set of data points, used for the <strong>X<\/strong> array in the correlation calculation. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"dl-term\">Data Set Y\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The <strong>Y<\/strong> set of data points, used for the <strong>Y<\/strong> array in the correlation calculation. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The R Squared calculation output of the two data points. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If the number of data points is not the same in both sets of data, the calculation fails and the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"dl-term\">div0\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If the calculation results in a divide by zero error, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, two input data sets (X Values and Y Values, each using 4 data points), are used as inputs to an <strong>R Squared<\/strong> component, used to calculate their R Squared value (Pearson correlation squared), which is a value between 0 and 1. The process has a warning \u2018Cannot divide by 0\u2019 for a divide by zero error, and another warning, \u2018Number of Data points are different\u2019 if the number of data points differs between the two data sets.<\/p>\n<p class=\"intro-text\">If the calculated output is greater than the <strong>Max Limit<\/strong> value, an event is raised, with a <strong>Max Exceeded<\/strong> state. Otherwise, an event is raised with a <strong>Default<\/strong> state. Both events include the R Squared value as metadata.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-306.png\" rel=\"lightbox-83\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43626 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-306.png\" alt=\"\" width=\"871\" height=\"264\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-306.png 871w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-306-768x233.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-306-150x45.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-306-24x7.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-306-36x11.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-306-48x15.png 48w\" sizes=\"auto, (max-width: 871px) 100vw, 871px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Slope<\/h2>\n<p class=\"intro-text\">The Slope component calculates the slope (or gradient) of the linear regression line between two input data sets, and forwards the result to the output pin.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43627 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-307.png\" alt=\"\" width=\"58\" height=\"59\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-307.png 58w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-307-24x24.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-307-36x36.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-307-48x48.png 48w\" sizes=\"auto, (max-width: 58px) 100vw, 58px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set X\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The <strong>X<\/strong> set of data points, used for the <strong>X<\/strong> array in the slope calculation. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"dl-term\">Data Set Y\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The <strong>Y<\/strong> set of data points, used for the <strong>Y<\/strong> array in the slope calculation. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The calculated slope of the data points.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If the number of data points is not the same in both sets of data, the calculation fails and the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"dl-term\">div0\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If the calculation results in a divide by zero error, the process follows this path. If this pin is not connected the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, two input data sets (X Values and Y Values, each using 4 data points), are used as inputs in a Slope component used to calculate their slope, a decimal value. The process has a warning, \u2018Different number of data points\u2019 if the number of data points differs between the two data sets, and another warning, \u2018Cannot divide by 0\u2019 if a divide by zero error occurs.<\/p>\n<p class=\"intro-text\">If the calculated output is greater than the <strong>Slope<\/strong> <strong>Max Limit<\/strong> value, an event is raised, with a <strong>Max Exceeded<\/strong> state. Otherwise, an event is raised with a <strong>Default<\/strong> state. Both events include the Slope value as metadata.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-314.png\" rel=\"lightbox-90\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43634 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-314.png\" alt=\"\" width=\"871\" height=\"270\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-314.png 871w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-314-768x238.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-314-150x46.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-314-24x7.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-314-36x11.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-314-48x15.png 48w\" sizes=\"auto, (max-width: 871px) 100vw, 871px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Time Range<\/h2>\n<p class=\"intro-text\">The Time Range component retrieves the period of time from the first data point in the input data set to the last point in the set, and forwards it to the output pin.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43635 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-315.png\" alt=\"\" width=\"83\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-315.png 83w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-315-24x14.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-315-36x22.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-315-48x29.png 48w\" sizes=\"auto, (max-width: 83px) 100vw, 83px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Time Period <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-16.png\" rel=\"lightbox-93\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42984 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-16.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The time period from the first data point to the last data point in the data set. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the time range value is calculated for the data retrieved from the previous 7 days. If the time range is greater than 7 days, an event is raised and the state of the entity changes to Above. Otherwise, an event is raised and the state of the entity changes to Below.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-320.png\" rel=\"lightbox-95\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43640 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-320.png\" alt=\"\" width=\"816\" height=\"173\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-320.png 816w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-320-768x163.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-320-150x32.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-320-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-320-36x8.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-320-48x10.png 48w\" sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Time-Weighted Average<\/h2>\n<p class=\"intro-text\">The Time-Weighted Average component calculates the time-weighted mean of the input data set. With a time-weighted mean, each number in the data set is multiplied by how long it is effective for before it is summed, and then divided by the total duration of the data points.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43641 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-321.png\" alt=\"\" width=\"149\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-321.png 149w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-321-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-321-36x12.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-321-48x16.png 48w\" sizes=\"auto, (max-width: 149px) 100vw, 149px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The time-weighted average value of the data set. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the time-weighted average is calculated for the data retrieved from the previous 7 days. If the time-weighted average is greater than 100,000, an event is raised and the state of the entity changes to Above. Otherwise, an event is raised and the state of the entity changes to Below.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-326.png\" rel=\"lightbox-100\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43646 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-326.png\" alt=\"\" width=\"890\" height=\"177\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-326.png 890w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-326-768x153.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-326-150x30.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-326-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-326-36x7.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-326-48x10.png 48w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">To OaDate<\/h2>\n<p class=\"intro-text\">The To OaDate component outputs a data set of OLE Automation Date equivalents of the input data set timestamps.<\/p>\n<p class=\"note\">Note: The OLE Automation Date is implemented as a floating-point number whose integral component is the number of days before or after midnight, 30 December 1899. The fractional component represents the time on that day divided by 24.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43647 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-327.png\" alt=\"\" width=\"84\" height=\"60\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-327.png 84w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-327-24x17.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-327-36x26.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-327-48x34.png 48w\" sizes=\"auto, (max-width: 84px) 100vw, 84px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing OLE Automation Date equivalents of the timestamps for each of the input data set\u2019s data points.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, an input data set (X Values) of 2 data points, is used as input to a <strong>To OaDate<\/strong> component, with an output data set of OLE Automation Date equivalents of the data points\u2019 timestamps.<\/p>\n<p class=\"intro-text\">If the number of actual X value data points is not equal to 2, an event is raised, with a <strong>Default<\/strong> state.<\/p>\n<p class=\"intro-text\">If the number of actual X value data points is equal to 2, these data point values are used as the X inputs, while their corresponding timestamps (now in OLE Automation Date format) are used as the Y inputs to a <strong>Slope<\/strong> component. The <strong>Slope<\/strong> component has a warning \u2018Cannot divide by zero\u2019 for a divide by zero error, and another warning, \u2018Number of Data points are different\u2019 if the number of data points differs between the two data sets. If the calculated slope value is greater than the <strong>Slope Max Limit<\/strong> value, an event is raised with a <strong>Max Exceeded<\/strong> state. Otherwise, an event is raised,with a <strong>Default<\/strong> state. Both events include the <strong>Slope<\/strong> value as metadata.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-331.png\" rel=\"lightbox-104\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43651 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-331.png\" alt=\"\" width=\"879\" height=\"245\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-331.png 879w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-331-768x214.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-331-150x42.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-331-24x7.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-331-36x10.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-331-48x13.png 48w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Variance<\/h2>\n<p class=\"intro-text\">The Variance component calculates the variance (mean of the squares) of the input data set.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43652 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-332.png\" alt=\"\" width=\"66\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-332.png 66w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-332-24x18.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-332-36x27.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-332-48x36.png 48w\" sizes=\"auto, (max-width: 66px) 100vw, 66px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The variance of the values in the data set. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the variance is calculated for the data retrieved by the period specified in the <strong>Variance Time<\/strong> parameter. If the variance is greater than that specified by the <strong>Variance <\/strong>input, an event is raised and the state of the entity changes to Variance Exceeded.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-337.png\" rel=\"lightbox-109\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43657 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-337.png\" alt=\"\" width=\"969\" height=\"352\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-337.png 969w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-337-768x279.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-337-150x54.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-337-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-337-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-337-48x17.png 48w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">\u03c3 (Std. dev)<\/h2>\n<p class=\"intro-text\">The \u03c3 (Std. dev) component calculates the standard deviation of the input data set.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43658 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-338.png\" alt=\"\" width=\"80\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-338.png 80w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-338-24x15.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-338-36x23.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-338-48x30.png 48w\" sizes=\"auto, (max-width: 80px) 100vw, 80px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/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-0\"><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=\"dl-term\">Data Set\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42980 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-12.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data set containing a number of data points. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Number <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The standard deviation of the values in the data set. Not connecting this pin will produce a warning.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><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\">If no data exists in the data set, the process follows this path. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the standard deviation is calculated for the data retrieved from the previous 7 days. If the standard deviation is greater than 500, an event is raised and the state of the entity changes to Above. Otherwise, an event is raised and the state of the entity changes to Below.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-343.png\" rel=\"lightbox-114\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43663 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-343.png\" alt=\"\" width=\"815\" height=\"177\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-343.png 815w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-343-768x167.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-343-150x33.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-343-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-343-36x8.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-343-48x10.png 48w\" sizes=\"auto, (max-width: 815px) 100vw, 815px\" \/><\/a><\/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 Data Set components in Sentinel Studio allow you to work on sets of data as opposed to single data points.<\/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\/data-set\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":43664,"parent":42147,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[285,698,766,762,767,768,732,769,753,414,770,384,772,385,765,774,696,775,776,395,726,764,777,422,778,694,779],"class_list":["post-42927","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-average","tag-components-sentinel","tag-count","tag-get-first","tag-get-index","tag-get-last","tag-get-single","tag-get-subset","tag-get-window-from","tag-integral","tag-join-data-set","tag-max","tag-median","tag-min","tag-ole","tag-pearson","tag-process-component","tag-r-squared","tag-slope","tag-standard-deviation","tag-studio-sentinel","tag-sum","tag-time-range","tag-time-weighted","tag-to-oadate","tag-user-process","tag-variance","Version-4-6-1","Product-sen"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42927","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=42927"}],"version-history":[{"count":1,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42927\/revisions"}],"predecessor-version":[{"id":46324,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42927\/revisions\/46324"}],"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\/43664"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=42927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=42927"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=42927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}