Replace Lookup Table Data

Replace Lookup Table Data activity

This activity replaces the data in a lookup table based on a spreadsheet (.csv or .xlsx). This activity will overwrite the entire contents of the lookup table with the contents of the spreadsheet.

To set up this activity:

  1. Drag the activity from the toolbox pane and drop it in the Designer pane.
  2. In the properties pane, type a name and description of the activity.
    The name and description editors
  3. In the Lookup Table to Replace property box, select the lookup table to be updated.
  4. In the Source Data property box, select the spreadsheet file.
    1. Server Attachment: Select a document attached in Files.
    2. Activity: Select a document from an activity earlier in your workflow. Learn more about selecting an entry.

      Note: This activity cannot act directly on a Laserfiche entry. If retrieving an entry from your Laserfiche Repository, use the Download Electronic Document activity to make the file accessible to this activity. ClosedShow me what this looks like.

  5. In the Replacement Options property box, select how this activity will handle spreadsheets if they do not match the format of your lookup table. This determines if the workflow should stop or continue if the new data contains additional columns that do not exist in the lookup table.

    Note: The activity will not allow a file with completely different structure to be used in order to prevent accidentally overwriting data with structurally different data.

    1. Terminate the workflow: If selected, the columns in the spreadsheet must exactly match the columns in your lookup table, including non-imported columns.

    2. Ignore extra columns: If selected, the new spread sheet must contain all included columns in the existing lookup table, but there may be additional columns in the spreadsheet. These additional columns will be ignored.

Important: This activity can only run if the lookup table has not been updated within the last hour. Otherwise the activity will report the error DM81106: Request to replace model before minimum interval of X minutes. in the activity monitor. See the Lookup Data Table section on the Service Limits page.

Note: When using this activity, it is recommended to mark the Lookup Table as 'Read-Only' to prevent data changes caused by Update, Insert, or Delete queries. Doing so does not prevent this activity from replacing the data.

You may want to disable activities if you only want to test specific sections of your workflow. To disable activities:

  1. Select an activity in the designer pane to highlight it.
  2. In the Description property box, clear Enable.