Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

currently I'm creating a custom workflow action for SharePoint Designer 2010. After the first deploy succeeded everything looked fine. But after that I changed several things and re-deployed the solution. That succeeded as well, but when use that custom workflow action now it is still the old one without the changes I made. How can I get it to use the new version?

Edit - Additional Information:

I created a "workflow action" (the things you add while building a workflow in SharePoint Designer like "set field to xyz" (so the part that doesn't work isn't the workflow itself). And I wrote it in Visual Studio while following those tutorials: http://msmvps.com/blogs/sundar_narasiman/archive/2010/12/26/develop-custom-workflow-activity-for-sharepoint-2010-workflow.aspx http://blog.symprogress.com/2011/01/spd-2010-custom-workflow-activity/

When I open SharePoint Designer to edit some workflow... the workflow action, that I created, appears in the dropdown just as it should and I can use it. But when I add the action to the workflow it still behaves like after I first deployed it. The changes aren't there.

I tried an IISReset, yes. I even rebooted the server.

Another edit: I noticed something new now. The workflow action DOES change but not fully... I can change the FieldBind (the text attribute for example) but when I change a parameter it doesn't work. I wanted to use another DesignerType but nothing happens if I change it and deploy again

This is my .actions file:

    <?xml version="1.0" encoding="utf-8" ?>
<WorkflowInfo>
  <Actions>
    <Action Name="Merge Users"
        ClassName="MergeUserActivity.MergeUser"
        Assembly="MergeUserActivity, Version=1.0.0.0, Culture=neutral, PublicKeyToken=131c449c41275d01"
        Category="My Custom Activities"
        AppliesTo="all">
      <RuleDesigner Sentence="Merge %1 and %2 (output to %3)">
        <FieldBind DesignerType="ListNames" Id="1" Text="users1" Field="UserSource1" />
        <FieldBind DesignerType="Stringbuilder" Id="2" Text="users2" Field="UserSource2" />
        <FieldBind DesignerType="ParameterNames" Id="3" Text="field" Field="UserTarget" />
      </RuleDesigner>
      <Parameters>
        <Parameter Name="UserSource1" Type="System.String, mscorlib" Direction="In" DesignerType="ChooseListItem" Description="First user source." />
        <Parameter Name="UserSource2" Type="System.String, mscorlib" Direction="In" DesignerType="DataSourceDropDown" Description="Second user source" />
        <Parameter Name="UserTarget" Type="System.String, mscorlib" Direction="Out" DesignerType="WritableFieldNames" Description="Output field for merged users." />
        <Parameter Name="__Context" Type="Microsoft.SharePoint.WorkflowActions.WorkflowContext, Microsoft.SharePoint.WorkflowActions" Direction="In" DesignerType="Hide" />
      </Parameters>
    </Action>
  </Actions>
</WorkflowInfo>

When I deploy the action, it uses still "ListNames" and "StringBuilder" as DesignerType as from the tutorial that I used and it seems like I cannot change that...

share|improve this question
    
Can you improve the question by adding specific changes to the workflow made. This will help us understand the problem better. –  Arko D Apr 4 '13 at 11:34
    
Tried an IISReset? –  James Love Apr 4 '13 at 12:04
    
Try to delete workflow from list/site and then assign it again. However, this should happen only to already running WFs. Do you deploy through Visual Studio or PowerShell? –  luccio Apr 4 '13 at 12:08
    
I didn't create a workflow but a "workflow action" (the things you add while building a workflow in SharePoint Designer like "set field to xyz". (Sorry didn't know, that enter sends the post - still editing) –  Jessica Apr 4 '13 at 13:52
    
Okay, I edited the top post for more information. –  Jessica Apr 4 '13 at 14:01
show 1 more comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.