Archive for the ‘Deployment’ Category
This process cannot be created, updated, or activated because it was created outside the Microsoft Dynamics CRM web application. your organization does not allow this type of process
Posted on: July 27, 2012
We have a custom workflow process that we tried to Deploy to Dynamics CRM 2011 (Rollup 8). Below is the error that we received during the deployment of the process using a Managed solution.
This process cannot be created, updated, or activated because it was created outside the Microsoft Dynamics CRM web application. your organization does not allow this type of process
By default XAML workflows are enabled in Dynamics CRM, so before deploying the workflow we should enable them. Below is the Power Shell script that needs to be executed on the CRM Server to enable XAML workflows.
Add-PSSnapin Microsoft.Crm.PowerShell
$setting = get-crmsetting customcodesettings
$setting.AllowDeclarativeWorkflows=”True”
set-crmsetting $setting
http://msdn.microsoft.com/en-us/library/8da8c71e-84af-441e-b99b-0b59399f10f6#enable_disable