This happens if the configuration file of the workflow did not get upgraded. Run the script below to add the required configurations:
private
void
AddWorkflowSupportToExistingProductTypes(SiteInitializer initializer)
{
var catalogManager = CatalogManager.GetManager();
var productTypeWorkflowInstaller =
new
CustomProductTypeWorkflowInstaller();
var configManager = ConfigManager.GetManager();
var productTypes = catalogManager.GetProductTypes();
foreach
(var productType
in
productTypes)
productTypeWorkflowInstaller.InstallWorkflowForProductType(productType, configManager);
}
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important