I am trying to create a custom workflow condition following the official msdn documentation found here. I think I did everything correct (obviously not) and the following error is displayed within SharePoint Designer 2010 when I am going into the workflow section:
The list of workflow actions on the server references an assembly that does not exist. Some actions will not be available. The assembly strong name is WorkflowConditions, Version=1.0.0.0, Culsture=neutral, PublicKeyToken=a451c5304570ce87. Contact your server administrator for more information.
To my understanding this means that the assembly referenced in the web.config does not exist. So i checked the global assembly cache (GAC) and indeed within C:\Windows\assembly\
i am unable to find the assembly WorkflowConditions
.
However, i did install that assembly (the way i understand it) using gacutil.exe
gacutil.exe /i WorkflowConditions.dll
Message returned: Assembly successfully added to the cache
Checking gacutil.exe /l
i can get a list of all assemblies currently stored (as far as I do understand it), and the penultimate entry is:
WorkflowConditions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a451c5304570ce87, processorArchitecture=MSIL
So i really do not understand why this thing isn't working. And it's weird that gacutil.exe tells me my assembly is stored in the cache, but i can not see it inside the folder!?
I can't really tell what more information you guys might need, so here is what i can come up with ;)
CustomConditions.Actions Identical to the one in the link above with the following Condition:
<Condition Name="Project Status Needs Updating"
FunctionName="StatusNeedsUpdating"
ClassName="WorkflowConditions.CustomConditions"
Assembly="WorkflowConditions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a451c5304570ce87"
AppliesTo="all"
UsesCurrentItem="true">
As asked in the documentation i copied the CustomConditions.Actions
-File into the Sharepoint Workflows Folder - in my case (since i am not sure about the number) i copied this to the following locations:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1031\Workflow\CustomConditions.Actions
and
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\Workflow\CustomConditions.Actions
Web.Config Entry
<authorizedTypes>
.....
<authorizedType Assembly="WorkflowConditions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a451c5304570ce87" Namespace="WorkflowConditions" TypeName="*" Authorized="True" />
</authorizedTypes>
I redid everything from scratch and i always get stuck at this point. What can i possibly continue to check to get this running? Thank you!