Data Sample
A data sample comprises the actual data rows corresponding to a datatable's structure. It cannot be independently shared; instead, sharing the respective table automatically includes its versions for sharing.
Add Data Sample
Adding a data Sample can be accomplished through different methods:
Through the 'Source' Option:
Navigate to the 'Source' section and click on it, which will lead you to a screen.
On this screen, locate the 'New Data Sample' button and click on it.
Afterward, you'll be prompted to select from dropdown options:
File Upload: This enables an 'upload file' button to upload.
Create from an existing connection: Here, a list of all existing connections is displayed, allowing selection by clicking on one.
Create from new connection: This option requires details such as 'Select Server Connection', 'Select Database Name', 'Select Schema', 'Select Table', and entry of a version name for the new data group.
Finally, clicking on the submit button facilitates the creation of a new data contract version.
Via the 'Process Builder' Option:
Access the 'Process Builder' and select the 'Create New Process' button. This action will direct you to a process building screen.
Within this screen, there are two approaches to create a data group:
Method 1:
Drag the 'Source' from the left Inputs section onto the working area.
Below the working area, various details will be displayed, including 'Config', 'Data', 'Preview', 'Out Schema', and 'Comments'.
Under the 'Config' section, find the 'Source type' field with a dropdown menu offering options such as 'Source' and 'New Source'.
Choose 'New Source' from the dropdown menu, then proceed to create a new data group by providing a name. Next, create a new data contract by naming it and then create a new data sample by providing a name, followed by clicking on 'Upload File' to upload your file. Finally, click 'Submit' to complete the process.
Upon selecting 'Source' from the dropdown menu, users are presented with options for 'Data Group' and 'Data Store Type'. By choosing the required options from the dropdown, users can create a new data sample.
Method 2:
Upon initiating a process, clicking the run button generates a run for that process. During this run, users are prompted to input details such as the 'Run Name' and 'Destination 1 Output Data Contract,' indicating where the data should be stored. Additionally, users are asked to select data sample for the source nodes. Upon publishing after this step, a new window titled 'Creating version for process' appears, displaying details such as the 'Version Id' and 'Version Description.'