Last Updated: Apr 21, 2020
The data from the PDF having different data types are extracted into a Doc table which is then used for the further execution of the task. A Doc table can be created either using an existing schema or a new schema.
A document schema defines attributes of a document including metadata fields used with a document, who has access to a document, workflows that can be initiated on a document, the document lifecycle, and more.
In the Create Doc Table window is displayed, specify the following details:
Table Name: Name of the Doc Table, for example, Invoice_PDF. The following messages are displayed for the below error scenarios:
Error Messages | Description |
---|---|
Please provide Jiffy Table name | When the user tries to create a Jiffy table without providing the name. |
‘Jiffy Table’ name already exists, please provide a unique name | When the user provides a duplicate Jiffy Table name |
Invalid Name, use characters [(a-z), (A-Z), (0-9), _, -, space ] | If a user provides the Jiffy table name that contains characters other than [(a-z), (A-Z), (0-9), _, -, space] |
Please input up to 25 characters | If the length of the Jiffy table name exceeds 25 characters |
Model: Select the New Schema option in this drop-down and specify the name of the new schema to be created.
Click on the name of the newly created model to select it. A green tick mark is displayed next to the selected schema.
Click on the + icon to create new columns. It displays the default values (UUID, Created By, Created Date, Updated By, Updated Date, Status) automatically.
In the [form](/developer_guide/forms/) view, the **Extracted** fields will have both label and value fields, whereas the fields apart from extracted fields will have only the value field.
Select the required data type from the second column which contains the following options:
Use the drag handle to re-order the columns.
Click on the Create button to create a new Doc Table which is displayed in the Datasets screen.
Users can edit the predefined values and status through Jiffy Insert/Update node as well.
The newly created Doc Tables will be listed in the Datasets listing page. To view the Doc table schema with the details of the columns, click on the name of the Doc table in the Datasets listing screen.
The following actions can be performed on this screen:
Adding data into the table: Click on the + icon (1) to add data into the table. A dialog box appears with the created / selected schema. Type the data into the respective fields and click on the SAVE button to save the data.
Auto Processing: Click on the Settings icon to select the Auto Processing toggle.
Editing the data: Click on the Edit icon (2) next to the required row to edit the data in that row. Edit the details and click on the SAVE button to save the data.
Use the highlighted arrow buttons to navigate to the previous and the next row of data.
Duplicating the data: Click on the Duplicate icon (3) next to the required row to duplicate that row. Another row with the same details is added to the table.
Deleting the data: Click on the checkbox icon (4) next to the required row to select that row. Click on the DELETE button (6) at the bottom of the page to delete the row. In the Are you sure you want to delete the row permanently option, click on the YES button. This can be done for one row at a time or multiple rows at once.
Unlocking the data: When a task is being executed using the rows in the Jiffy table, the rows will be locked. The rows need to be unlocked to modify the data, if required. To do this, click on the checkbox icon (4) next to the required row to select that row. Then click on the UNLOCK button (5) at the bottom of the page to unlock the rows. This can be done for one row at a time or multiple rows at once.
Editing the table schema: To edit the schema of the table, click on the More icon (7) at the top of the screen. Click on the Table Properties option. In the Migrate Jiffy Table dialog box that appears, do the required modifications. Click on the MIGRATE button to migrate the data in the table to the updated schema.
Sorting the data: The rows in the table are arranged in the last modified first order by default. They can be rearranged in alphabetically Ascending or Descending order for each column by clicking on the More icon against the name of the column.