Hi Courtney,Sorry for such a late reply. I don't have a 10.1 machine readily available, but I downloaded the latest version of the tools, installed them as-is to 10.2.1, and ran a test like what I believe you're describing. In both a cmd prompt and as a scheduled task, the script ran and created a job.My database was SQL Express, and I was using the Workflow Manager quick start configuration available through the post-install. The "main()" function of my script was as follows (I essentially just swapped the code below with the main() function in the "UploadAndBackupSample1.py" from the tools' Documentation folder):def main():
# Get any necessary licenses before importing the toolbox
checkOutLicenses("", ["JTX"])
# Import the Workflow Manager toolbox
wmxToolbox = getWorkflowManagerToolboxLocation()
arcpy.ImportToolbox(wmxToolbox, "WMXAdminUtils")
arcpy.CreateJob_WMXAdminUtils(
"Data Edits",
"myWindowsUsername")
logPreviousToolMessages()
Some things to check would be:
- Download the latest version of the tools if you haven't already; I *think* they should build against 10.1 as-is.
- The permissions of the scheduled task user: make sure this user has an entry in the Workflow Manager database and is a member of a group with permissions to create new jobs.
- Ensure that the default Workflow Manager database is set for the scheduled task user.
- (Kind of a long shot) Try launching ArcCatalog as the scheduled task user and ensure that the "Workflow Manager" extension is enabled.
Anyway, if you're still having this issue, I hope this helps.Brian D.