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.
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 |
|
Run Reviewer Batch Job | ProductionMappingSteps.RunReviewerBatchJob | Executes a Reviewer batch job |
|
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")] |