Work with the Tuple Store
What is the Tuple Store?
The Tuple Store feature is an internal data storage system that allows users to design a schema and import data from .csv files directly into Hero_Flow to use in business automations.
This feature allows for data to be added directly to Hero_Flow that can be used in business processes.
Create a New Schema
- Enter a name for the schema.
- Click Add field.
- Enter a field name and assign the field a data type.
- Click Add field to enter additional fields and data types as needed.
- After all the fields have been added, click OK to save the schema.
- The created schema now appears in the Tuple Store list on the overview page.
Import Schema
- Enter a name for the schema.
- Click Choose file and select a CSV file that contains the schema.
- Click Next.
- Select the schema delimiter.
- comma: ","
- simi colon: ";"
- <blank space>
- vertical bar: "|"
- Mark if headers are present in the schema.
- If headers are present, mark if the header case should be upper, lower, or the the original as imported.
- Select the character set.
- Select the field detection strategy.
- Detect field data types.
- Convert all field data types to strings.
- Click Next.
- Review or edit the mapped fields.
- Click Next to save the schema.
Edit a Schema
To edit a schema:
- Click the settings icon and select Edit.
- When finished editing the schema, click OK to save.
Add Data to a Schema
After creating a schema, the schema has field names (column names) and is empty with no data.
Add data to the schema by importing a .csv file and pairing the .csv file column names with the schema field names.
To add data to a schema:
- Double-click the schema name or click the settings icon and select Show Data.
- Click Import data.
- Browse for a .csv file with data for the schema.
Click Next. - Configure the csv settings.
Click Next. - Map the fields in the .csv file to the fields created in the schema.
Click Save to finish adding data to the schema.
View or Edit Data in a Schema
To view data that has been added to a schema:
- Double-click the schema name or click the settings icon and select Show Data.
- The data in the schema is displayed.
- To edit a data in the schema, double-click within the row to edit.
Data can be edited from each field in the row.
Save an edit by click the disk icon under the actions column. - When complete, click the Close.
Export Schema Data
To export the schema data to a .csv file:
- Double-click the schema name or click the settings icon and select Show Data.
- Click Export data.
- The .csv file is exported to the computer's default download folder.
Clone a Schema
To clone/copy a schema:
- Click the settings icon and select Clone.
- Click Yes, Clone to continue.
- A copy of the schema and data is created given an iterative name.
Example: A schema with the name "User_Data" is cloned to the default name "User_Data_(1)" - Cloned schema names can be changed using the Edit action.
Delete Schema Data
Delete All Schema Data
To delete all the data within a schema:
- Click the settings icon and select Delete Data.
- Click Yes, Delete to delete all data records within the schema.
or
- Double-click the schema name or click the settings icon and select Show Data.
- Click Delete all.
- Click Yes, Delete to delete all data records within the schema.
Delete Individual Schema Records
To delete individual schema records:
- Double-click the schema name or click the settings icon and select Show Data.
- Navigate to the record for deletion and click the X icon under the actions column.
- Click Yes, Delete to delete the record from the schema.
Delete a Schema
A schema cannot be delete if the schema contains data. To delete a schema that contains data, the data from the schema must first be deleted.
To delete a schema:
- Click the settings icon and select Delete Schema.
- Click Yes, Delete to delete the schema.