Select to view content in your preferred language

Does assigment layer use archiving?

985
2
Jump to solution
08-12-2021 09:11 AM
David_RonaldSuárez_Urresti
Occasional Contributor

I am trying to delete all completed assignments from my workforce project but I have the doubt if deleting the assignment with a python script (using the API) creates a archived registry.

 

I want to delete all and don't have those registries in my datastore for my workforce project.

I am using: 

workforce_project.assignments_layer.delete_features(where=consulta)

 

@CraigGillgrass 

0 Kudos
1 Solution

Accepted Solutions
CraigGillgrass
Esri Regular Contributor

Workforce does not manage an archive of assignments; deleting them will remove the assignments. You would need to copy them before deleting them.

Craig

View solution in original post

2 Replies
CraigGillgrass
Esri Regular Contributor

Workforce does not manage an archive of assignments; deleting them will remove the assignments. You would need to copy them before deleting them.

Craig

David_RonaldSuárez_Urresti
Occasional Contributor

Thanks @CraigGillgrass , I just wanted to confirm that.

 

Best regads

0 Kudos