mercredi 10 décembre 2014

ActivityNotFoundException during feature activation



I have a workflow 2013 included in Full trust solution (WSP). When I add a variable of type DynamicValue to the workflow and try to deploy the solution using VS 2012 I get the error during feature activation:



Error occurred in deployment step 'Activate Features': Microsoft.Workflow.Client.ActivityNotFoundException: The activity named 'WorkflowXaml_ed00d3bd_4796_41ba_b288_35ce2226f89a' from scope '/SharePoint/default/248fadea-e82b-4d15-bf03-d00b7947ca36/a6b8142a-8120-4823-a855-f400460ec143' was not found. HTTP headers received from the server - ActivityId: 1cc4b55f-876a-4ad4-bdee-7a897c1992cd. NodeId: ZG-SP2013-02. Scope: /SharePoint/default/248fadea-e82b-4d15-bf03-d00b7947ca36/a6b8142a-8120-4823-a855-f400460ec143. Client ActivityId : 2e0290fd-765b-435c-a



Markup generated in Workflow.xaml when the variable is added:



<Variable x:TypeArguments="p:DynamicValue" Name="drStId" />


If I delete the variable, the workflow gets deployed successfully.


Has anyone encountered a similar issue?


Other ActivityNotFoundException posts on SP SE aren't related to this issue.








0 commentaires:

Enregistrer un commentaire