span8
span4
span8
span4
Not so much a question as bringing together a few things...
I'm using a Workspace Runner to call a Workspace which writes to an ESRI File Geodatabase (FGDB).In testing,I had the FGDB Feature Class open in ArcCatalog which caused the translation to fail because the target was locked.Also,the Workspace Runner was reporting success,even though the Workspace it was calling failed.
There are two things here.Firstly,"Wait for job to complete" was set to "No" which meant that the Workspace Runner would report a success even if the Workspace it called failed."No" enables you to run concurrent Workspaces which is something I did not want to do because I need to process a series of input datasets in order,not in parallel.The solution is to set "Wait for job to complete" to "Yes":
Secondly,the locking issue can often be solved using@david_r's suggestion of truncating the target Feature Class instead of dropping it:
https://knowledge.亚搏在线safe.com/questions/1827/arcsde-geodatabase-locks.html
Finally,if the Workspace Runner calls a Workspace more than once,the translation log of the first of that Workspace will be overwritten by subsequent runs.I'm going to try the LogMessageStreamer as suggested by@mark2cat亚搏在线safe:
https://knowledge.亚搏在线safe.com/questions/30394/capture-translation-log.html
Hi@tim_wood,regarding the log file,you can also create a published parameter linking to Log File parameter (one of built-in Workspace Parameters) and pass unique log file paths for each run to the workspace through this parameter.
I hope that this idea will be realized:Add "Log File" parameter to WorkspaceRunner
In addition,when you run the workspace from the command line,you can also pass the log file path with a command line option called "LOG_FILENAME".
I would like the exit status of the workbench to be returned to the workspace runner.Then I can respond to the failure to not continue.
In my case I run a process that splits up the data into 80 regions.I can run 7 at a time in parallel and then merge the regions at the end.But only if they are all successful.I too sometimes get a write lock which is not returned as an error.Could I try running a python exit script?After all something gets returned if some errors in the workbench trigger a failure signal.
Run second workbench once first is completed3 Answers
workspacerunner1 Answer
Undo append to logfie option not working for workspace in workspacerunner2 Answers
AutoCAD to GDB conversion Shape Length Attribute Lost3 Answers
Renamed FMW but log file name still old one when called from Workspace Runner1 Answer
© 2019 亚搏在线Safe Software Inc |Legal