IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
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