You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 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.
.
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
The text was updated successfully, but these errors were encountered:
Completed assignments are 3 and cancelled ones are 6 so just change your where clause to status IN (3, 6) if you want to migrate those. The default where clause, which does everything except completed and cancelled assignments can be found here:
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 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.
.
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
The text was updated successfully, but these errors were encountered: