Hello,
I created a custom workflow activity in visual studio 2012 following the walkthrough examples on the web. I was able to register the assembly (in isolation mode, stored in the database). When I go to create a process in CRM I can see my new custom workflow activity but as soon as I select it to include it in the workflow, I get an Error Dialog. The error dialog tells me to read the error log file and this is the contents of that file:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: This workflow cannot be created, updated or published because it's referring unsupported workflow step - CustomActivityStep(.Net3.5).Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147200955</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>This workflow cannot be created, updated or published because it's referring unsupported workflow step - CustomActivityStep(.Net3.5).</Message>
<Timestamp>2013-02-13T07:04:35.6796668Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
Can anyone please tell me what I am doing wrong. I have made sure that my Custom Workflow activity is a .Net Framework 4.0 and I have signed the assembly. At the moment the activity is not doing much just creating an email.
Please assist.