You are trying to import Leads using Migration Tool, but you are getting the error message "Status is not valid." for some records in step Simulate Import.
PS: This scenario could also be found with the error "Service call failed".
SAP Hybris Cloud for Customer 1711 and higher.
Reproducing the Issue
- Go to Business Configuration work center;
- Search for Migration of Leads;
- Open the activity;
- Click Migrate leads using the migration tool;
- Select the template;
- Click Execute Migration and choose Step by step;
- Receive error at step Simulate Import.
The records that had error have the status Declined in the template, but they cannot be created directly with this status and they cannot be updated to this status without having a certain status before that.
You need to create / update the Lead with an acceptable status that can be updated to Declined later.
For example, if you are creating a Lead, you need to create it with status as "Qualified", that can then be changed to Declined.
In case you are trying to modify already existing leads, a lead with status as "Open" can't be declined right away, their status need to be changed to "Qualified" and then you will be able to decline it.
PS: The status flow is the same for updating leads in UI, so you can check it to find the options available according to the current status.
migration of leads, status declined, change status, error message, status not valid , KBA , LOD-LE-MIG , LEAP Migration , LOD-CRM-LM , Lead Management , Problem