Esri / Esri/workforce-scripts

How to migrate completed assignments?

Open
#102 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
85
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Hi,
I was using migrate_assignments.py to migrate assignments from the classic project and the new project during the migration I encountered an error - "_Assignments not migrated successfully. Unknown error_".
When I checked the new project I found that only the _Assigned_ and _In Progress_ assignments got migrated. While going through the [Migrate a Classic Workforce project](https://www.esri.com/arcgis-blog/products/workforce/field-mobility/migrate-a-classic-workforce-project/#:~:text=Migrate%20Classic%20projects%20with%20the%20Workforce%20web%20app&text=Locate%20the%20Classic%20project%20you,Click%20Migrate%20project.) blog i have found that we can optionally provide and attribute called _where “status IN (0,1,2)”_. Refer to the below screenshot for the same.

![image](https://user-images.githubusercontent.com/70343349/215025955-c4cc6883-8075-45a2-a0f1-bdeb75ed606b.png).

I just wanted to what is the status code we need to provide for migrating the completed assignments or how we can migrate the completed assignments.?

Any help would be really appreciated.

Thanks
Ayush

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.