{"id":42174,"date":"2018-12-06T10:21:26","date_gmt":"2018-12-06T02:21:26","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=42174"},"modified":"2020-11-11T17:46:44","modified_gmt":"2020-11-11T09:46:44","slug":"creating-a-new-user-process","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/creating-a-new-user-process\/","title":{"rendered":"Creating a New User Process"},"content":{"rendered":"<p class=\"note\">Note: Before you create a user process in Sentinel Studio, you should have some idea of the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/sentinel-studio-primers\/building-logical-processes\/\">mathematical logic<\/a> behind your process. We recommend that you initially map this out using a flowchart or similar tool so that you have a guide to follow when using Sentinel Studio.<\/p>\n<p class=\"intro-text\">To create a new user process:<\/p>\n<p class=\"intro-text\">1. In Sentinel, click the <strong>Sentinel Studio <\/strong>button <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-1.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42944 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-1.png\" alt=\"\" width=\"30\" height=\"30\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-1.png 30w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-1-24x24.png 24w\" sizes=\"auto, (max-width: 30px) 100vw, 30px\" \/><\/a> in the footer.<\/p>\n<p class=\"intro-text\">2. In <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/getting-started\/sentinel-studio-tour\/\">Sentinel Studio<\/a>, select <strong>New User Process<\/strong> from the File menu (<em>File &gt; New User Process<\/em>).<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">The initial building blocks are displayed in the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/using-the-logic-editor\/\">Logic Editor<\/a>, consisting of two entry points (<strong>Process First<\/strong> and <strong>Start<\/strong>) and a data stream (<strong>Primary Input<\/strong>).<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43049 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-41.png\" alt=\"\" width=\"103\" height=\"129\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-41.png 103w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-41-19x24.png 19w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-41-29x36.png 29w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-41-38x48.png 38w\" sizes=\"auto, (max-width: 103px) 100vw, 103px\" \/><\/p>\n<p class=\"left-bar\" style=\"padding-left: 30px;\">Note: You cannot delete these initial building blocks, but you do not need to use all of them for the user process to be valid.<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\"><strong>Process First<\/strong>: This entry point is used to process the very first data point only, unless a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/event\/#Reset_State\">Reset State<\/a> component is used at the end of a process, in which case the next data point processed is indicated by <em>Process First<\/em> instead of <em>Start.<\/em> In a user process, P2 Sentinel processes the first data point separately to the remaining data points, as the first data point is often used for various purposes.<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\"><strong>Start<\/strong>: The user process begins at this point. Each point of data that is connected to this entry point will be processed. Unless the monitor is restarted or the state is reset, the process resumes at this point when the end is reached.<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\"><strong>Primary Input<\/strong>: The main data stream that is evaluated by the user process. The source of the data is specified in the Sentinel monitor.<\/p>\n<p class=\"intro-text\">3. Right-click in the Logic Editor to add a process <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\">component<\/a>.<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">Example: <strong>Right-click<\/strong>, then select <strong>Flow<\/strong>, then select <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/flow\/#Flow_Merge\"><strong>Flow Merge<\/strong><\/a><\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43050 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/c-users-pxn0601-appdata-local-temp-snaghtml294e5a.png\" alt=\"C:\\Users\\pxn0601\\AppData\\Local\\Temp\\SNAGHTML294e5a0a.PNG\" width=\"408\" height=\"380\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/c-users-pxn0601-appdata-local-temp-snaghtml294e5a.png 408w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/c-users-pxn0601-appdata-local-temp-snaghtml294e5a-150x140.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/c-users-pxn0601-appdata-local-temp-snaghtml294e5a-24x22.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/c-users-pxn0601-appdata-local-temp-snaghtml294e5a-36x34.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/c-users-pxn0601-appdata-local-temp-snaghtml294e5a-48x45.png 48w\" sizes=\"auto, (max-width: 408px) 100vw, 408px\" \/><\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">After you have added a component, you will want to connect them with other components to create the process flow.<\/p>\n<p class=\"intro-text\">4. To connect the components, click the first pin (e.g. Process First) and then drag it to the pin you want to connect to (e.g. Flow Merge).<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">Example:<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43051 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-42.png\" alt=\"\" width=\"245\" height=\"134\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-42.png 245w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-42-150x82.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-42-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-42-36x20.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-42-48x26.png 48w\" sizes=\"auto, (max-width: 245px) 100vw, 245px\" \/><\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">If you try to connect to an invalid pin, a red cross <strong><span style=\"color: #ff0000;\">\u00d7<\/span><\/strong>\u00a0appears and you will not be able to link the pins.<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43052 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-43.png\" alt=\"\" width=\"228\" height=\"53\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-43.png 228w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-43-150x35.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-43-24x6.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-43-36x8.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-43-48x11.png 48w\" sizes=\"auto, (max-width: 228px) 100vw, 228px\" \/><\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">Next, you may need to adjust the properties of the component (for example, to create additional inputs and outputs); however, this is not required for every component.<\/p>\n<p class=\"intro-text\">5. To configure the component properties, click the component. The <strong>Module<\/strong> tab in the properties panel becomes active when a component is selected.<\/p>\n<p class=\"intro-text\">6. Complete the properties for the component.\u00a0<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43053 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-44.png\" alt=\"\" width=\"515\" height=\"402\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-44.png 515w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-44-150x117.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-44-24x19.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-44-36x28.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-44-48x37.png 48w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">When you add an <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/sentinel-studio-features\/inputs\/\">Input<\/a> or <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/sentinel-studio-features\/process-parameters\/\">Process Parameter<\/a> component to the process, these will become available in Sentinel for configuration by the user when creating a monitor that uses this process.<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">Every time you add one of these components, you should switch over to the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/using-the-ui-editor\/\">UI Editor<\/a> to label them and rearrange them as needed.<\/p>\n<p class=\"intro-text\">7. Continue adding components and linking pins until you have finished building the process.<\/p>\n<p class=\"left-bar\" style=\"padding-left: 30px;\">Tip: If you run out of space in the Logic Editor, you can move the screen by simultaneously holding down the <strong>Shift key<\/strong> and the <strong>left mouse<\/strong> button, and dragging the mouse. To reset the screen to the way it was, select <em>Layout &gt; Reset Scroll<\/em>.<\/p>\n<p class=\"intro-text\">8. Click the <strong>Process <\/strong>tab on the Properties pane, complete the fields, and then <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/saving-a-process\/\">save the process<\/a>.<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">Continue editing the process, saving as you go.<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">When you have finished building your process, you will need to <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/validating-the-logic-of-a-process\/\">validate it<\/a> and then <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/how-to-test-a-process\/\">test it<\/a>.<\/p>\n<p class=\"intro-text\">9. From the menu, click <em>Debug &gt; Build and Validate<\/em>. Work through and resolve any errors before proceeding.<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">The message itself tells you what the problem is. Errors may occur if:<\/p>\n<ul class=\"intro-text\">\n<li>Required <strong>metadata<\/strong> is not filled in or is filled in incorrectly.<\/li>\n<li><strong>Sub-modules<\/strong> are not correctly connected, internally or externally.<\/li>\n<li>The <strong>primary input<\/strong> is not available to event components.<\/li>\n<li>For the <strong>window<\/strong> components, the Data Windowing Type property is set to None.<\/li>\n<li>A component does not have its <strong>input<\/strong> pin connected, if required.<\/li>\n<li>A component does not have its <strong>flow<\/strong> pin connected, if required.<\/li>\n<li>The <strong>data type<\/strong> at each end of every input and output connection for the component does not resolve down to a specific data type.<\/li>\n<li>A write <strong>memory<\/strong> component does not have at least one corresponding read memory component, for a particular memory key.<\/li>\n<li>A read or delete memory component does not have at least one corresponding write memory component, for a particular memory key.<\/li>\n<li>Data types of all memory components in a given <strong>memory key<\/strong> do not match.<\/li>\n<\/ul>\n<p class=\"intro-text\">10. Click the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/how-to-test-a-process\/supplying-test-data\/\"><strong>Test Data <\/strong><\/a>tab of the Properties pane, and specify the data to use for testing.<\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43054 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-45.png\" alt=\"\" width=\"244\" height=\"282\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-45.png 244w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-45-130x150.png 130w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-45-21x24.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-45-31x36.png 31w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-45-42x48.png 42w\" sizes=\"auto, (max-width: 244px) 100vw, 244px\" \/><\/p>\n<p class=\"intro-text\" style=\"padding-left: 30px;\">All <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/flow-event\/\">Flow Events<\/a> present in a user process should be tested with a series of test cases to make sure you get the results you expect.<\/p>\n<p class=\"intro-text\">11. Test the process is working as expected, and that you are getting the expected results for each flow path and event.<\/p>\n<p class=\"intro-text\">12. Save the process (<em>File &gt; Save User Process<\/em>).<\/p>\n<p class=\"intro-text\">When you are happy with your process, you can configure a Sentinel monitor to use the process. For instructions on how to configure a Sentinel monitor, refer to the <em>P2 Sentinel User's Guide<\/em>.<\/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\/component-logic-functions\/\">Component Logic Functions<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before you create a user process in Sentinel Studio, you should have some idea of the mathematical logic behind your process. We recommend that you initially map this out using a flowchart or similar tool so that you have a guide to follow when using Sentinel Studio.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/creating-a-new-user-process\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":42950,"parent":42146,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[698,728,695,731,705,93,734,726,706,694],"class_list":["post-42174","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-components-sentinel","tag-flowchart","tag-logic-editor","tag-process-flow","tag-process-logic","tag-save","tag-scrolling","tag-studio-sentinel","tag-testing","tag-user-process","Version-4-6-1","Product-sen"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42174","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=42174"}],"version-history":[{"count":1,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42174\/revisions"}],"predecessor-version":[{"id":46309,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42174\/revisions\/46309"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42146"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/42950"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=42174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=42174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=42174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}