Data Reviewer custom steps and tokens (Production Mapping)

The Data Reviewer custom steps and tokens can be used to automate selected Data Reviewer functions as part of a workflow. These steps and tokens allow you to create a Reviewer session for your job, run Reviewer batch jobs directly from a workflow, and automatically start the job's Reviewer session when ArcMap is started.

Example of a Workflow Manager workflow that uses the Data Reviewer custom steps and tokens

The Data Reviewer custom steps

The Data Reviewer custom steps are included in the Production Mapping steps library. The steps, a basic description, and return codes are outlined in the table below.

See Creating step types for general information on configuring step types.

Step name

CLSID

Description

Return codes

Create Reviewer Session

ProductionMappingSteps.CreateReviewerSession

Creates a Reviewer session and associates it with the job

  • 0—Successful
  • -1—Failed

Run Reviewer Batch Job

ProductionMappingSteps.RunReviewerBatchJob

Executes a Reviewer batch job

  • 0—Batch job executed successfully, and no results were returned.
  • 1—Batch job executed successfully, and results were written to the Reviewer session
  • 2—Batch job failed to execute.
  • 3—Batch job executed successfully with errors or warnings, and no results were returned.
  • 4—Batch job executed successfully with errors or warnings, and results were written to the Reviewer session

Launch ArcMap with Start Reviewer Session Command

JTXDesktopSteps.LaunchArcMap

Argument: /guid:WMXReviewer.StartSession

Starts ArcMap and starts the Reviewer session associated with the job

All processing information is written to the History tab in Workflow Manager.

The Data Reviewer tokens

An additional token is available when working with the Data Reviewer custom steps.

See the Using tokens topic for general information on working with tokens.

Parser

Token

Description

Example input

Example output

Prog ID

Reviewer

[REVSESSION:ID]

Reviewer session ID for the session(s) associated with the job

[REVSESSION:ID]

123

[ProgId("ProductionMappingSteps.ReviewerTokenParser")]

4/26/2014