Lookup Destination Id From Job Run History

Purpose: Getting the rd destination Id from the Current Job Run History, in order to update an existing document from a previous Job run, rather than creating a new one.

Set up: There are no configuration options for this task. It uses the Document's Source Repository ID in order to find the rd destination Id.

Use Case: It's used in Incremental or Sync jobs. This task uses the Source Repository ID from the Repository the document is pulled from, in order to find the document in the Job Run History.

Exception/Requirements: Since the Source Repository ID is used, any source repositories that use a Path Based Source ID will not work if the path of the document changes.


Configuration

To use this task go to the task tab in your job. Select the task from the drop down and click the plus circle to configure the task. Click done after making any changes to save.

Condition check

It will execute the task when the condition's result is 'true', 't', 'on', '1', or 'yes' (case-insensitive), or run on all conditions if left empty. This condition is evaluated for each document, determining whether the task should be executed based on the specified values.

Example: If I only want to run this task for PDF documents I would use the expression: equals('#{rd.mimetype}',"application/pdf")


API Keys

Processor: lookupDestinationIdFromJobRunHistoryTask

Key

Display Name

Type

use_condition Check a condition before executing this task. Boolean

task_condition

Condition

String

task_stop_proc

Stop Processing

Boolean