Solved! Go to Solution.
def getParameterInfo(self):
def getParameterInfo(self): ### Define parameter definitions param0 = arcpy.Parameter( displayName="Input Feature Class Location", name="edit_fc", datatype="Feature Class", parameterType="Optional", direction="Input", multiValue=True) param0.filter.list = ["Polygon", "Polyline", "Point"] param1 = arcpy.Parameter( displayName="OID Query Expression", name="oid_query", datatype="SQL Expression", parameterType="Optional", direction="Input") param1.parameterDependencies = [param0.name] param2 = arcpy.Parameter( displayName="Workflow", name="wf_name", datatype="String", parameterType="Optional", direction="Input") params = [param0, param1, param2] return params
The Reviewer batch job results are written to the specified session (indicated by Session) in the Reviewer Workspace.
A summary of the batch job is displayed in the Results window.
The output parameter for this tool is a table view of one row of the REVBATCHRUNTABLE table in the Reviewer Workspace. The row represents the record created when the batch job is executed.
# execute the batch job res = arcpy.ExecuteReviewerBatchJob_Reviewer(rev_workspace,session,batch_job_file,prod_workspace) # get the output table view from the result object tbl = res.getOutput(0)