AnsweredAssumed Answered

How to copy assignments to another feature class with Python script?

Question asked by ldhartman on May 31, 2019
Latest reply on Jun 3, 2019 by APulver-esristaff

I'm attempting to use the copy_assignment_to_fc.py script found on GitHub to copy assignments earlier than a certain date to a separate feature class. The script keeps getting hung up on the "-where" parameter.  So I keep getting errors saying it cannot perform query. Invalid query parameters.  I need some direction on the format of that portion I guess. Below is what I've tried without success. Aaron Pulver

 

-where "completedDate <= DATE '02/01/2019'"

-where "1=1"

 

The attached screenshot is of the Python Command Prompt using the "1=1" argument.

 

Thanks!

Outcomes