{"id":10224,"date":"2016-06-02T15:08:37","date_gmt":"2016-06-02T19:08:37","guid":{"rendered":"http:\/\/www.iri.com\/blog\/?p=10224"},"modified":"2017-11-06T10:26:16","modified_gmt":"2017-11-06T15:26:16","slug":"creating-a-voracity-flow-from-the-palette-part-1-of-2","status":"publish","type":"post","link":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/","title":{"rendered":"Creating a Voracity Flow from the Palette (Part 1 of 2)"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">This is the first of two articles showing how to\u00a0create and use job flows in the IRI Workbench<\/span><a href=\"http:\/\/www.iri.com\/products\/workbench\/voracity-gui\"> <span style=\"font-weight: 400;\">GUI for Voracity<\/span><\/a><span style=\"font-weight: 400;\">. It follows two other series on creating flows automatically using new job wizards.<span id='easy-footnote-1-10224' class='easy-footnote-margin-adjust'><\/span><span class='easy-footnote'><a href='https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#easy-footnote-bottom-1-10224' title='These articles show different ways to create and modify ETL jobs in Voracity\u2019s Eclipse GUI. The first series covered flow construction from existing transform jobs already expressed in CoSort &lt;a href=&quot;http:\/\/www.iri.com\/products\/cosort\/sortcl&quot;&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;SortCL&lt;\/span&gt;&lt;\/a&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt; programs (scripts). The second and third series are for those new to IRI technology who prefer to build and modify the underlying job scripts graphically.'><sup>1<\/sup><\/a><\/span><\/span><\/span><span style=\"font-weight: 400;\">\u00a0 We will create the same flow built in the second series, but this time directly through the flow diagram editor.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">With this \u201cdesign from scratch\u201d method, start with a basic flow building block, or \u201cflowlet\u201d, then add to it by dragging components from the <\/span><b>Palette <\/b><span style=\"font-weight: 400;\">into the flowlet.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Remember that flows contain Extract-Transform-Load (ETL) and other data processing steps that are illustrated in flow and transform mapping diagrams in Workbench. They are saved in .flow files for execution from IRI workbench, or serialized as .sh or .bat files for execution from inside or outside the Workbench.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The flow we are making here matches data in an Oracle table called PATIENT_RECORD with billing information from the PATIENTBILLING table, then it sends the results to collections. Some of the data in the PATIENT_RECORD table is sensitive. After extracting the data from the table, this phase of the job will mask some of the columns and eliminate others.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Begin by creating a project in IRI Workbench called <\/span><i><span style=\"font-weight: 400;\">ScratchFlow <\/span><\/i><span style=\"font-weight: 400;\">to hold all the files associated with this Flow. Make sure this project is highlighted in the project explorer before continuing.<\/span><\/p>\n<h3><b>Create the Flowlet<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Click <\/span><b>File<\/b><span style=\"font-weight: 400;\"> on the menu bar &gt; <\/span><b>New<\/b><span style=\"font-weight: 400;\"> &gt; <\/span><b>Flow<\/b><span style=\"font-weight: 400;\">. Type in <\/span><i><span style=\"font-weight: 400;\">Scratch.flow<\/span><\/i><span style=\"font-weight: 400;\"> for the <\/span><b>File name<\/b><span style=\"font-weight: 400;\">, then click <\/span><b>Finish<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Scratch.flow<\/span> <span style=\"font-weight: 400;\">is now in your project and is open in the editor. Click on <\/span><b>Batch: unnamed <\/b><span style=\"font-weight: 400;\">in the editor. \u00a0Look at the <\/span><b>Properties<\/b><span style=\"font-weight: 400;\"> view at the bottom of the screen. If the <\/span><b>Properties<\/b><span style=\"font-weight: 400;\"> view is not open, follow these steps to open it: click <\/span><b>Window <\/b><span style=\"font-weight: 400;\">on the menu bar &gt; <\/span><b>Show View<\/b><span style=\"font-weight: 400;\"> &gt; <\/span><b>Properties<\/b><span style=\"font-weight: 400;\">. Currently, <\/span><b>Batch<\/b><span style=\"font-weight: 400;\"> has <\/span><b>Name: <\/b><i><span style=\"font-weight: 400;\">unnamed<\/span><\/i><span style=\"font-weight: 400;\">. Change <\/span><i><span style=\"font-weight: 400;\">unnamed <\/span><\/i><span style=\"font-weight: 400;\">to <\/span><i><span style=\"font-weight: 400;\">Scratch<\/span><\/i><span style=\"font-weight: 400;\">, Click in the editor, then click <\/span><b>Save All <\/b><span style=\"font-weight: 400;\">on the navigation bar. In both the editor and the project, you now have <\/span><b>Batch: Scratch<\/b><span style=\"font-weight: 400;\"> under Scratch.flow.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the project, right-click on <\/span><b>Batch: Scratch <\/b><span style=\"font-weight: 400;\">&gt; <\/span><b>New Representation \u00a0<\/b><span style=\"font-weight: 400;\">&gt; <\/span><b>new Flow Diagram. <\/b><span style=\"font-weight: 400;\">Type in <\/span><i><span style=\"font-weight: 400;\">Scratch Flow Diagram<\/span><\/i><span style=\"font-weight: 400;\"> for the<\/span><b> Representation name <\/b><span style=\"font-weight: 400;\">and click<\/span><b> OK. <\/b><span style=\"font-weight: 400;\">Click in the gray flowlet, then select <\/span><b>Base <\/b><span style=\"font-weight: 400;\">in the <\/span><b>Properties <\/b><span style=\"font-weight: 400;\">view, and change <\/span><b>Name <\/b><span style=\"font-weight: 400;\">to Scratch. Click in the flowlet again.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If <\/span><b>New Representation<\/b><span style=\"font-weight: 400;\"> is not a choice, follow these steps:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Right-click on the Project name in the Project Explorer and click <\/span><b>Viewpoint Selection<\/b><span style=\"font-weight: 400;\">. Put a check in the <\/span><b>Flow <\/b><span style=\"font-weight: 400;\">box and click <\/span><b>OK<\/b><span style=\"font-weight: 400;\">.<\/span> <span style=\"font-weight: 400;\">Then go back and follow the previous steps.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A flowlet is created and displayed in the editor. It consists of a gray flowlet block that contains a green <\/span><b>Start <\/b><span style=\"font-weight: 400;\">block as shown below.<\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/1-IRI-Flowlet.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10228\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/1-IRI-Flowlet.png\" alt=\"IRI Flowlet\" width=\"624\" height=\"434\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/1-IRI-Flowlet.png 624w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/1-IRI-Flowlet-300x209.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">We will create two data transformation jobs in the flowlet: PatientInfoProtect.scl and Collections.scl. The second will be created in the next article. They will each be represented in the flow by a <\/span><b>Transform Mapping Block<\/b><span style=\"font-weight: 400;\">. You can visualize the contents of those blocks in transform mapping diagrams and in <\/span><a href=\"http:\/\/www.iri.com\/products\/cosort\/sortcl\"><span style=\"font-weight: 400;\">SortCL<\/span><\/a><span style=\"font-weight: 400;\"> scripts once those scripts have been created.<\/span><\/p>\n<h3><b>Create the First Transform<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Drag a <\/span><b>Transform Mapping Block<\/b><span style=\"font-weight: 400;\"> from the palette on the right into the flowlet. The <\/span><b>Transform Mapping Block<\/b><span style=\"font-weight: 400;\"> diagram is the visual representation of a SortCL script where you can follow the \u00a0source-to-target field mappings in addition to any transforms that are performed.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Double-click in the <\/span><b>Transform Mapping Block<\/b><span style=\"font-weight: 400;\"> to see a detailed view of the block. For <\/span><b>Representation name<\/b><span style=\"font-weight: 400;\">, type PatientInfoProtect Mapping Diagram, then click <\/span><b>OK<\/b><span style=\"font-weight: 400;\">. There are blocks in this diagram, for Input Data, Action, and Output Data.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">From the Palette on the right, drag an <\/span><b>Input ODBC<\/b><span style=\"font-weight: 400;\"> icon and drop it into the <\/span><b>Input Data<\/b><span style=\"font-weight: 400;\"> block. This will bring up the <\/span><b>Database Information<\/b><span style=\"font-weight: 400;\"> window. Select the <\/span><b>Data source name(DSN)<\/b><span style=\"font-weight: 400;\"> from the drop-down. The Table selection window will then populate with the <\/span><a href=\"http:\/\/www.iri.com\/blog\/iri\/iri-workbench\/using-the-iri-workbench-data-connection-registry\/\"><span style=\"font-weight: 400;\">tables available<\/span><\/a><span style=\"font-weight: 400;\"> for that DSN. Click the checkbox for NIGHTLY.PATIENT_RECORD, then click <\/span><b>Finish<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><b>Input Data<\/b><span style=\"font-weight: 400;\"> block now has a white source block with a table named PATIENT_RECORD, which contains a blue block for fields or columns. It also has a yellow <\/span><b>Section Options<\/b><span style=\"font-weight: 400;\"> block containing items that apply to the table or file as a whole.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click in the white source block. Then click <\/span><b>Arrange Selection<\/b><span style=\"font-weight: 400;\"> from the drop-down menu in the upper left corner of the editor.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The next <\/span><b>Transform Mapping Block<\/b><span style=\"font-weight: 400;\"> of this flow will perform a join on IDNUMBER. Therefore, we can sort here using that field as the key. From the <\/span><b>Transform Action<\/b><span style=\"font-weight: 400;\"> section of the <\/span><b>Palette<\/b><span style=\"font-weight: 400;\">, drag the <\/span><b>Sort<\/b><span style=\"font-weight: 400;\"> icon into the <\/span><b>Action<\/b><span style=\"font-weight: 400;\"> block. This brings up the <\/span><b>Sort <\/b><span style=\"font-weight: 400;\">window.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Select IDNUMBER from the <\/span><b>Input Fields<\/b><span style=\"font-weight: 400;\"> box and select <\/span><b>Add Key<\/b><span style=\"font-weight: 400;\">. IDNUMBER is now displayed in the <\/span><b>Key Fields<\/b><span style=\"font-weight: 400;\"> box. You can repeat the process for as many keys as are necessary for the sort. In this instance, we only need one key. Click <\/span><b>Finish<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/2-IRI-Sort.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10229\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/2-IRI-Sort.png\" alt=\"IRI Sort\" width=\"525\" height=\"560\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/2-IRI-Sort.png 525w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/2-IRI-Sort-281x300.png 281w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><b>Action<\/b><span style=\"font-weight: 400;\"> block is populated with a white <\/span><b>Sort<\/b><span style=\"font-weight: 400;\"> block that contains a gray block with the fields from the input, and an orange <\/span><b>Action Key<\/b><span style=\"font-weight: 400;\"> block containing the key that was just defined.<\/span><\/p>\n<h3><b>Define the Target<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Drag the <\/span><b>File<\/b><span style=\"font-weight: 400;\"> icon from the <\/span><b>Output<\/b><span style=\"font-weight: 400;\"> section of the <\/span><b>Palette<\/b><span style=\"font-weight: 400;\"> into the <\/span><b>Output Data<\/b><span style=\"font-weight: 400;\"> block. The <\/span><b>Output Selection Type<\/b><span style=\"font-weight: 400;\"> dialog will open. Because we need to define the output format for our target, select <\/span><b>Editor <\/b><span style=\"font-weight: 400;\">to open the <\/span><b>Target Field Layout <\/b><span style=\"font-weight: 400;\">editor.<\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/3-Output-Selection-Type.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10230\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/3-Output-Selection-Type.png\" alt=\"Output Selection Type\" width=\"532\" height=\"152\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/3-Output-Selection-Type.png 532w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/3-Output-Selection-Type-300x86.png 300w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">The top half of the editor has source definitions, and the bottom half has target definitions. Initially, the target has the name <\/span><b>Out_File <\/b><span style=\"font-weight: 400;\">and all the input fields have been copied to the target. If you want, you can click the trash icon to delete all the fields in the target, and then drag the desired fields from source to target.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Since we want most of the fields, we will, instead, remove the fields that we don\u2019t want. \u00a0We will remove AGE, EMAIL, DRIVING_LICENSE, and SSN. For each one, right-click on the field and select <\/span><b>Remove<\/b><span style=\"font-weight: 400;\">. With those fields gone, the field positions need to be recalculated by clicking the <\/span><b>1-2-3<\/b><span style=\"font-weight: 400;\"> icon.<\/span><\/p>\n<h3><b>Mask the Credit Card Numbers<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">There are two fields for holding credit card numbers. These need to be masked so that only the last 4 digits of the numbers can be viewed. \u00a0Right-click on the field CREDIT_CARD1 &gt; <\/span><b>Apply Rule<\/b><span style=\"font-weight: 400;\"> &gt; <\/span><b>Create Rule<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click <\/span><b>Masking Function<\/b><span style=\"font-weight: 400;\"> under <\/span><b>Protection Rules<\/b><span style=\"font-weight: 400;\"> and verify that the <\/span><b>Library location<\/b><span style=\"font-weight: 400;\"> has our project name. Type CreditCardMask for the <\/span><b>Rule name,<\/b><span style=\"font-weight: 400;\"> and click <\/span><b>Next<\/b><span style=\"font-weight: 400;\">.<\/span><span style=\"font-weight: 400;\">\f<\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/4-New-Field-Rule-Wizard.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10231\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/4-New-Field-Rule-Wizard.png\" alt=\"New Field Rule Wizard\" width=\"525\" height=\"746\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/4-New-Field-Rule-Wizard.png 525w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/4-New-Field-Rule-Wizard-211x300.png 211w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">In the<\/span><b> Masking Function <\/b><span style=\"font-weight: 400;\">window, select <\/span><b>Define mask<\/b><span style=\"font-weight: 400;\">. Type * for <\/span><b>Mask <\/b><span style=\"font-weight: 400;\">character, 1 for <\/span><b>Start position<\/b><span style=\"font-weight: 400;\">, 12 for <\/span><b>Length<\/b><span style=\"font-weight: 400;\">, and then click <\/span><b>Add to table<\/b><span style=\"font-weight: 400;\">. The definition is added to the table at the bottom. Click <\/span><b>Finish<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/5-Masking-Function.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10232\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/5-Masking-Function.png\" alt=\"Masking Function\" width=\"446\" height=\"636\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/5-Masking-Function.png 446w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/5-Masking-Function-210x300.png 210w\" sizes=\"(max-width: 446px) 100vw, 446px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">We have returned to the <\/span><b>Target Field Layou<\/b><span style=\"font-weight: 400;\">t editor and now want to mask the other credit card field. \u00a0We already created the masking rule for credit cards, so we want to use that rule. Right-click on the field CREDIT_CARD2 &gt; <\/span><b>Apply Rule<\/b><span style=\"font-weight: 400;\"> &gt; <\/span><b>Browse Rule.<\/b><span style=\"font-weight: 400;\"> When the <\/span><b>Field Rule Library<\/b><span style=\"font-weight: 400;\"> window opens, select the rule named CreditCardMask, and then click <\/span><b>OK<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/6-Field-Rule-Library.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10233\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/6-Field-Rule-Library.png\" alt=\"Field Rule Library\" width=\"547\" height=\"450\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/6-Field-Rule-Library.png 547w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/6-Field-Rule-Library-300x247.png 300w\" sizes=\"(max-width: 547px) 100vw, 547px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">The two credit card fields now have the <\/span><b>Field <\/b><span style=\"font-weight: 400;\">designation of <\/span><b>Function<\/b><span style=\"font-weight: 400;\">. Also, the field names have been changed to MASK_CREDIT_CARD1 and MASK_CREDIT_CARD2 because these are now derived fields. Click <\/span><b>OK<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/7-Target-Field-Layout.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10234\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/7-Target-Field-Layout.png\" alt=\"Target Field Layout\" width=\"670\" height=\"600\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/7-Target-Field-Layout.png 670w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/7-Target-Field-Layout-300x269.png 300w\" sizes=\"(max-width: 670px) 100vw, 670px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">We are now back in the PatientInforProtect Transform Mapping Diagram. Click in the white <\/span><b>Out_File<\/b><span style=\"font-weight: 400;\"> block. In the <\/span><b>Properties <\/b><span style=\"font-weight: 400;\">view, select <\/span><b>Base<\/b><span style=\"font-weight: 400;\">, then change <\/span><b>Name <\/b><span style=\"font-weight: 400;\">to PatientInfoProtected. Now, select the <\/span><b>. . .<\/b><span style=\"font-weight: 400;\"> button next to the <\/span><b>Data Info<\/b><span style=\"font-weight: 400;\"> field to go to the <\/span><b>FileDataInfo <\/b><span style=\"font-weight: 400;\">dialog. Change the <\/span><b>Name <\/b><span style=\"font-weight: 400;\">to PatientInfoProtected<\/span> <span style=\"font-weight: 400;\">and <\/span><b>File Name <\/b><span style=\"font-weight: 400;\">to Out_PatientInfoProtected, and then click <\/span><b>Finish<\/b><span style=\"font-weight: 400;\">. <\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/8-FileDataInfo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10235\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/8-FileDataInfo.png\" alt=\"FileDataInfo\" width=\"378\" height=\"538\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/8-FileDataInfo.png 378w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/8-FileDataInfo-211x300.png 211w\" sizes=\"(max-width: 378px) 100vw, 378px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">The input file with fields are displayed in the <\/span><b>Input Data<\/b><span style=\"font-weight: 400;\"> block. You can follow the fields through the <\/span><b>Action <\/b><span style=\"font-weight: 400;\">block where, in this case, the sort key is defined. Then, follow the connection arrows that map the fields into the blue field block of the <\/span><b>Output Data<\/b><span style=\"font-weight: 400;\"> block.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Notice that not all fields were mapped into the output, and that the two fields where masking was applied have orange connecting arrows, instead of blue. This is because a masking function was applied to the values in the original fields before being accepted to the output.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For more details on these major Voracity task blocks, see <\/span><a href=\"http:\/\/www.iri.com\/blog\/iri\/iri-workbench\/creating-voracity-flows-using-existing-iri-scripts-part-1\/\"><i><span style=\"font-weight: 400;\">Creating a Voracity Flow Using Existing IRI Scripts (Part 1<\/span><\/i><\/a><i><span style=\"font-weight: 400;\">).<\/span><\/i><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/9-Input-Action-Output-Data.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10236\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/9-Input-Action-Output-Data.jpeg\" alt=\"Input-Action-Output Data\" width=\"600\" height=\"256\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/9-Input-Action-Output-Data.jpeg 883w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/9-Input-Action-Output-Data-300x128.jpeg 300w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/9-Input-Action-Output-Data-768x328.jpeg 768w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Now click in the area outside the blocks. Select the <\/span><b>Base <\/b><span style=\"font-weight: 400;\">tab<\/span> <span style=\"font-weight: 400;\">in the <\/span><b>Properties <\/b><span style=\"font-weight: 400;\">view. Change <\/span><b>Name <\/b><span style=\"font-weight: 400;\">and <\/span><b>IRI Job<\/b><span style=\"font-weight: 400;\"> to <\/span><i><span style=\"font-weight: 400;\">PatientInfoProtect.scl<\/span><\/i><span style=\"font-weight: 400;\">. The first field names the Transform Mapping Block represented in the above diagram, and the second field names the SortCL Job script that will be created from that diagram.<\/span><\/p>\n<h3><b>Define the Metadata for Data File PatientInfoProtected<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Because the output file <\/span><i><span style=\"font-weight: 400;\">PatientInfoProtected <\/span><\/i><span style=\"font-weight: 400;\">will be used as an input file for the second <\/span><b>Transform Mapping Block<\/b><span style=\"font-weight: 400;\">, we need to create a DDF (metadata) file specifying the layout for that file. That layout is currently available in the blue field block for the <\/span><b>Output Data<\/b><span style=\"font-weight: 400;\"> file represented in the above diagram. Right-click in the blue block for the fields in the <\/span><b>Output Data<\/b><span style=\"font-weight: 400;\"> block &gt; <\/span><b>IRI Diagram Actions<\/b><span style=\"font-weight: 400;\"> &gt; <\/span><b>Create DDF<\/b><span style=\"font-weight: 400;\">. Keep the <\/span><b>File name<\/b> <i><span style=\"font-weight: 400;\">PatientInfoProtected.ddf <\/span><\/i><span style=\"font-weight: 400;\">in the <\/span><b>DDF Options<\/b><span style=\"font-weight: 400;\"> dialog and click <\/span><b>Finish<\/b><span style=\"font-weight: 400;\">. The DDF file is now in the metadata directory of our project and can be referenced when the second <\/span><b>Transform Mapping Block<\/b><span style=\"font-weight: 400;\"> is created in the next article. <\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/10-Export-Fields-to-DDF.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10237\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/10-Export-Fields-to-DDF.png\" alt=\"Export Fields to DDF\" width=\"525\" height=\"574\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/10-Export-Fields-to-DDF.png 525w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/10-Export-Fields-to-DDF-274x300.png 274w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Return to the Scratch Flow Diagram in the editor. Connect the <\/span><b>Start <\/b><span style=\"font-weight: 400;\">block to the input table for the transform mapping block named PatientInfoProtect.scl by clicking the <\/span><b>Connection <\/b><span style=\"font-weight: 400;\">icon in the <\/span><b>Palette<\/b><span style=\"font-weight: 400;\">. Then click the <\/span><b>Start <\/b><span style=\"font-weight: 400;\">block, followed by the icon for the input table PATIENT_RECORD. In the diagram below, you can see the flow named Scratch that was created.<\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10238\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png\" alt=\"Scratch Flow Diagram\" width=\"600\" height=\"435\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png 897w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram-300x218.png 300w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram-768x557.png 768w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3><b>Serialize the Job for Execution<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">To create the job script PatientInfoProtect.scl and the batch file for this flow, right-click in the editor &gt; <\/span><b>IRI Diagram Actions<\/b><span style=\"font-weight: 400;\"> &gt; <\/span><b>Export Flow Component<\/b><span style=\"font-weight: 400;\">. Select <\/span><b>Windows <\/b><span style=\"font-weight: 400;\">from the <\/span><b>Platform <\/b><span style=\"font-weight: 400;\">drop-down and verify that Scratch.bat is in the <\/span><b>File name<\/b><span style=\"font-weight: 400;\"> field. This is the name of the file that will execute the flow. Click <\/span><b>Finish<\/b><span style=\"font-weight: 400;\">. The CoSort\/SortCL Job script and the batch file are created and placed in the project. \u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Note that flow and batch files can contain multiple components in addition to transform blocks (SortCL scripts), including blocks for <\/span><a href=\"http:\/\/www.iri.com\/products\/fact\"><span style=\"font-weight: 400;\">IRI FACT<\/span><\/a><span style=\"font-weight: 400;\"> (fast extract) or bulk DB load tasks, SQL and command line programs, FTP and decision blocks, etc.<\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/12-Export-Flow-Component.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10239\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/12-Export-Flow-Component.png\" alt=\"Export Flow Component\" width=\"525\" height=\"652\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/12-Export-Flow-Component.png 525w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/12-Export-Flow-Component-242x300.png 242w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><\/a><\/p>\n<h3><b>Review the Transform Script<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">After the job script PatientInfoProtect.scl has been generated, it can be displayed in the editor by double-clicking on that .scl file in the <\/span><b>Project Explorer<\/b><span style=\"font-weight: 400;\">. Red items in the editor \u00a0indicate <\/span><a href=\"http:\/\/www.iri.com\/products\/cosort\/sortcl-metadata\"><span style=\"font-weight: 400;\">syntax<\/span><\/a><span style=\"font-weight: 400;\"> keywords, and blue items indicate strings.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the <\/span><b>Model <\/b><span style=\"font-weight: 400;\">outline to the right of the editor, you can click an item and see it highlighted in the editor. For example, if I click <\/span><b>Output Section<\/b><span style=\"font-weight: 400;\"> in the outline, the output section of the (SortCL job) script is highlighted:<\/span><\/p>\n<p><a href=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/13-Project-Explorer.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10240\" src=\"http:\/\/www.iri.com\/blog\/wp-content\/uploads\/2016\/07\/13-Project-Explorer.png\" alt=\"Project Explorer\" width=\"600\" height=\"376\" srcset=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/13-Project-Explorer.png 1271w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/13-Project-Explorer-300x188.png 300w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/13-Project-Explorer-768x481.png 768w, https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/13-Project-Explorer-1024x641.png 1024w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">You can also right-click on items in the outline to edit them, or in the script editor. This will open IRI menus with editing options. Any edits made to the script are not automatically reflected in the flow (you must save the script and drag its file back into the flow), but it\u2019s another way to make changes.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Following are the batch script and the job script it can execute. This is done from within IRI Workbench directly, through its task scheduler, any third-party job scheduler, or from the command line:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The\u201cScratch.bat\u201d file contains:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">@echo off\r\n<\/span><span style=\"font-weight: 400;\">sortcl \/SPECIFICATION=PatientInfoProtect.scl<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">The PatientInfoProtect.scl job we created contains:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">\/INFILE=\"NIGHTLY.PATIENT_RECORD;DSN=Oracle_qa2;UID=nightly;PWD=N321ghtly;\"\r\n<\/span><span style=\"font-weight: 400;\">     \/ALIAS=NIGHTLY_PATIENT_RECORD\r\n<\/span><span style=\"font-weight: 400;\">     \/PROCESS=ODBC\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(IDNUMBER, TYPE=ASCII, POSITION=1, SEPARATOR=\"\\t\", EXT_FIELD=\"IDNUMBER\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(NAME, TYPE=ASCII, POSITION=2, SEPARATOR=\"\\t\", EXT_FIELD=\"NAME\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(AGE, TYPE=ASCII, POSITION=3, SEPARATOR=\"\\t\", EXT_FIELD=\"AGE\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(EMAIL, TYPE=ASCII, POSITION=4, SEPARATOR=\"\\t\", EXT_FIELD=\"EMAIL\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(PHONE, TYPE=ASCII, POSITION=5, SEPARATOR=\"\\t\", EXT_FIELD=\"PHONE\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(CREDIT_CARD1, TYPE=ASCII, POSITION=6, SEPARATOR=\"\\t\", \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0EXT_FIELD=\"CREDIT_CARD1\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(CREDIT_CARD2, TYPE=ASCII, POSITION=7, SEPARATOR=\"\\t\", \u00a0\u00a0\u00a0EXT_FIELD=\"CREDIT_CARD2\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(DRIVING_LICENSE, TYPE=ASCII, POSITION=8, SEPARATOR=\"\\t\", EXT_FIELD=\"DRIVING_LICENSE\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(SSN, TYPE=ASCII, POSITION=9, SEPARATOR=\"\\t\", EXT_FIELD=\"SSN\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(CITY, TYPE=ASCII, POSITION=10, SEPARATOR=\"\\t\", EXT_FIELD=\"CITY\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(STATE, TYPE=ASCII, POSITION=11, SEPARATOR=\"\\t\", EXT_FIELD=\"STATE\")<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\/SORT\r\n<\/span><span style=\"font-weight: 400;\">\/KEY=(IDNUMBER, TYPE=ASCII)<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\/OUTFILE=PatientInfoProtected\r\n<\/span><span style=\"font-weight: 400;\">     \/PROCESS=RECORD\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(IDNUMBER, TYPE=ASCII, POSITION=1, SEPARATOR=\"\\t\", EXT_FIELD=\"IDNUMBER\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(NAME, TYPE=ASCII, POSITION=2, SEPARATOR=\"\\t\", EXT_FIELD=\"NAME\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(PHONE, TYPE=ASCII, POSITION=3, SEPARATOR=\"\\t\", EXT_FIELD=\"PHONE\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(MASK_CREDIT_CARD1=replace_chars(CREDIT_CARD1, \"*\", 1, 12), TYPE=ASCII, POSITION=4, SEPARATOR=\"\\t\", EXT_FIELD=\"CREDIT_CARD1\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(MASK_CREDIT_CARD2=replace_chars(CREDIT_CARD2, \"*\", 1, 12), TYPE=ASCII, POSITION=5, SEPARATOR=\"\\t\", EXT_FIELD=\"CREDIT_CARD2\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(CITY, TYPE=ASCII, POSITION=6, SEPARATOR=\"\\t\", EXT_FIELD=\"CITY\")\r\n<\/span><span style=\"font-weight: 400;\">     \/FIELD=(STATE, TYPE=ASCII, POSITION=7, SEPARATOR=\"\\t\", EXT_FIELD=\"STATE\")<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">In the <a href=\"http:\/\/www.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-2-of-2\/\">next article<\/a>, we will add to the flow by defining a second <\/span><b>Transform Mapping Block<\/b><span style=\"font-weight: 400;\">. The output from the script, represented here by the Transform Mapping Block PatientInfoProtect.scl, will become one of the inputs for the new <\/span><b>Transform Mapping Block<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the first of two articles showing how to\u00a0create and use job flows in the IRI Workbench GUI for Voracity. It follows two other series on creating flows automatically using new job wizards.\u00a0 We will create the same flow built in the second series, but this time directly through the flow diagram editor. With<\/p>\n<div><a class=\"btn-filled btn\" href=\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/\" title=\"Creating a Voracity Flow from the Palette (Part 1 of 2)\">Read More<\/a><\/div>\n","protected":false},"author":10,"featured_media":10238,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[8,776,91],"tags":[1122,14,561,1068,100,1127,1123,1125,92,1113,830,789,850,967,489,75,1114,1124,1126,941,1128],"class_list":["post-10224","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-protection","category-etl","category-iri-workbench","tag-create-job-flow","tag-data-masking","tag-ddf","tag-dsn","tag-etl","tag-field-rule-library","tag-flow-diagram-editor","tag-flowlet","tag-gui","tag-input","tag-iri-fact","tag-iri-voracity","tag-iri-workbench","tag-job-wizard","tag-metadata","tag-odbc","tag-output","tag-palette","tag-target-field-layout","tag-transform-mapping-block","tag-transform-script"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating a Voracity Flow from the Palette (Part 1 of 2) - IRI<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a Voracity Flow from the Palette (Part 1 of 2) - IRI\" \/>\n<meta property=\"og:description\" content=\"This is the first of two articles showing how to\u00a0create and use job flows in the IRI Workbench GUI for Voracity. It follows two other series on creating flows automatically using new job wizards.\u00a0 We will create the same flow built in the second series, but this time directly through the flow diagram editor. WithRead More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/\" \/>\n<meta property=\"og:site_name\" content=\"IRI\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-02T19:08:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-11-06T15:26:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png\" \/>\n\t<meta property=\"og:image:width\" content=\"897\" \/>\n\t<meta property=\"og:image:height\" content=\"651\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Susan Gegner\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Susan Gegner\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/\"},\"author\":{\"name\":\"Susan Gegner\",\"@id\":\"https:\/\/beta.iri.com\/blog\/#\/schema\/person\/87be5da567628ab9396ca81170f36d63\"},\"headline\":\"Creating a Voracity Flow from the Palette (Part 1 of 2)\",\"datePublished\":\"2016-06-02T19:08:37+00:00\",\"dateModified\":\"2017-11-06T15:26:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/\"},\"wordCount\":2039,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/beta.iri.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png\",\"keywords\":[\"create job flow\",\"data masking\",\"DDF\",\"DSN\",\"ETL\",\"field rule library\",\"flow diagram editor\",\"flowlet\",\"GUI\",\"input\",\"IRI FACT\",\"IRI Voracity\",\"IRI Workbench\",\"job wizard\",\"metadata\",\"ODBC\",\"output\",\"Palette\",\"target field layout\",\"transform mapping block\",\"transform script\"],\"articleSection\":[\"Data Masking\/Protection\",\"ETL\",\"IRI Workbench\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/\",\"url\":\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/\",\"name\":\"Creating a Voracity Flow from the Palette (Part 1 of 2) - IRI\",\"isPartOf\":{\"@id\":\"https:\/\/beta.iri.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png\",\"datePublished\":\"2016-06-02T19:08:37+00:00\",\"dateModified\":\"2017-11-06T15:26:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#primaryimage\",\"url\":\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png\",\"contentUrl\":\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png\",\"width\":897,\"height\":651,\"caption\":\"Scratch Flow Diagram\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/beta.iri.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a Voracity Flow from the Palette (Part 1 of 2)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/beta.iri.com\/blog\/#website\",\"url\":\"https:\/\/beta.iri.com\/blog\/\",\"name\":\"IRI\",\"description\":\"Total Data Management Blog\",\"publisher\":{\"@id\":\"https:\/\/beta.iri.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/beta.iri.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/beta.iri.com\/blog\/#organization\",\"name\":\"IRI\",\"url\":\"https:\/\/beta.iri.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/beta.iri.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2019\/02\/iri-logo-total-data-management-small-1.png\",\"contentUrl\":\"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2019\/02\/iri-logo-total-data-management-small-1.png\",\"width\":750,\"height\":206,\"caption\":\"IRI\"},\"image\":{\"@id\":\"https:\/\/beta.iri.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/beta.iri.com\/blog\/#\/schema\/person\/87be5da567628ab9396ca81170f36d63\",\"name\":\"Susan Gegner\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/beta.iri.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2b1ca5592a65d44483351292cf1ae00a?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2b1ca5592a65d44483351292cf1ae00a?s=96&d=blank&r=g\",\"caption\":\"Susan Gegner\"},\"url\":\"https:\/\/beta.iri.com\/blog\/author\/susang\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a Voracity Flow from the Palette (Part 1 of 2) - IRI","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/","og_locale":"en_US","og_type":"article","og_title":"Creating a Voracity Flow from the Palette (Part 1 of 2) - IRI","og_description":"This is the first of two articles showing how to\u00a0create and use job flows in the IRI Workbench GUI for Voracity. It follows two other series on creating flows automatically using new job wizards.\u00a0 We will create the same flow built in the second series, but this time directly through the flow diagram editor. WithRead More","og_url":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/","og_site_name":"IRI","article_published_time":"2016-06-02T19:08:37+00:00","article_modified_time":"2017-11-06T15:26:16+00:00","og_image":[{"width":897,"height":651,"url":"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png","type":"image\/png"}],"author":"Susan Gegner","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Susan Gegner","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#article","isPartOf":{"@id":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/"},"author":{"name":"Susan Gegner","@id":"https:\/\/beta.iri.com\/blog\/#\/schema\/person\/87be5da567628ab9396ca81170f36d63"},"headline":"Creating a Voracity Flow from the Palette (Part 1 of 2)","datePublished":"2016-06-02T19:08:37+00:00","dateModified":"2017-11-06T15:26:16+00:00","mainEntityOfPage":{"@id":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/"},"wordCount":2039,"commentCount":0,"publisher":{"@id":"https:\/\/beta.iri.com\/blog\/#organization"},"image":{"@id":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#primaryimage"},"thumbnailUrl":"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png","keywords":["create job flow","data masking","DDF","DSN","ETL","field rule library","flow diagram editor","flowlet","GUI","input","IRI FACT","IRI Voracity","IRI Workbench","job wizard","metadata","ODBC","output","Palette","target field layout","transform mapping block","transform script"],"articleSection":["Data Masking\/Protection","ETL","IRI Workbench"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/","url":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/","name":"Creating a Voracity Flow from the Palette (Part 1 of 2) - IRI","isPartOf":{"@id":"https:\/\/beta.iri.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#primaryimage"},"image":{"@id":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#primaryimage"},"thumbnailUrl":"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png","datePublished":"2016-06-02T19:08:37+00:00","dateModified":"2017-11-06T15:26:16+00:00","breadcrumb":{"@id":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#primaryimage","url":"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png","contentUrl":"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png","width":897,"height":651,"caption":"Scratch Flow Diagram"},{"@type":"BreadcrumbList","@id":"https:\/\/beta.iri.com\/blog\/data-protection\/creating-a-voracity-flow-from-the-palette-part-1-of-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/beta.iri.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Creating a Voracity Flow from the Palette (Part 1 of 2)"}]},{"@type":"WebSite","@id":"https:\/\/beta.iri.com\/blog\/#website","url":"https:\/\/beta.iri.com\/blog\/","name":"IRI","description":"Total Data Management Blog","publisher":{"@id":"https:\/\/beta.iri.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/beta.iri.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/beta.iri.com\/blog\/#organization","name":"IRI","url":"https:\/\/beta.iri.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/beta.iri.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2019\/02\/iri-logo-total-data-management-small-1.png","contentUrl":"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2019\/02\/iri-logo-total-data-management-small-1.png","width":750,"height":206,"caption":"IRI"},"image":{"@id":"https:\/\/beta.iri.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/beta.iri.com\/blog\/#\/schema\/person\/87be5da567628ab9396ca81170f36d63","name":"Susan Gegner","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/beta.iri.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2b1ca5592a65d44483351292cf1ae00a?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b1ca5592a65d44483351292cf1ae00a?s=96&d=blank&r=g","caption":"Susan Gegner"},"url":"https:\/\/beta.iri.com\/blog\/author\/susang\/"}]}},"jetpack_featured_media_url":"https:\/\/beta.iri.com\/blog\/wp-content\/uploads\/2016\/07\/11-Scratch-Flow-Diagram.png","_links":{"self":[{"href":"https:\/\/beta.iri.com\/blog\/wp-json\/wp\/v2\/posts\/10224"}],"collection":[{"href":"https:\/\/beta.iri.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/beta.iri.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/beta.iri.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/beta.iri.com\/blog\/wp-json\/wp\/v2\/comments?post=10224"}],"version-history":[{"count":8,"href":"https:\/\/beta.iri.com\/blog\/wp-json\/wp\/v2\/posts\/10224\/revisions"}],"predecessor-version":[{"id":10326,"href":"https:\/\/beta.iri.com\/blog\/wp-json\/wp\/v2\/posts\/10224\/revisions\/10326"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/beta.iri.com\/blog\/wp-json\/wp\/v2\/media\/10238"}],"wp:attachment":[{"href":"https:\/\/beta.iri.com\/blog\/wp-json\/wp\/v2\/media?parent=10224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/beta.iri.com\/blog\/wp-json\/wp\/v2\/categories?post=10224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/beta.iri.com\/blog\/wp-json\/wp\/v2\/tags?post=10224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}