SharePoint User Group UK

Share the knowledge!

Welcome to SharePoint User Group UK Sign in | Join | Help
in
Home Blogs Forums Photos Files Roller

Sharepoint Designer : Actions Duplication

Last post 05-15-2008, 2:59 PM by vinay. 0 replies.
Sort Posts: Previous Next
  •  05-15-2008, 2:59 PM 10746

    Sharepoint Designer : Actions Duplication

    Hi

    We developed a new action via visual studio deployed this into our moss application and added a new .actions file with the settings for the action.

    We then developed a few more actions and deployed them and updated the .actions file accordingly.

    However in sharepoint designer when we add a new action a duplicate action for the first action we had added actions appear in the list.

    We can not remove this duplicate from the list. We have tried done the following :

    1. Removed duplicate actions from the actions file. There we have no duplicate ruleDesigner sentences

    2. Restarted IIS on the webserver

    3. Redeployed the actions

    However nothing seems to resolve this issue.

    We thought amending the actions file would resolve this.

    The actions file is shown below :

    <?xml version="1.0" encoding="utf-8"?>

    <WorkflowInfo Language="en-us">

    <Conditions And="and" Or="or" Not="not" When="If" Else="Else if">

    </Conditions>

    <Actions Sequential="then" Parallel="and" >

    <Action

    Name ="Create a consultation list item %1"

    ClassName="BuildConsultationDocument.ConsultationList"

    Assembly="BuildConsultationDocument, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1547c2593289b6ad"

    AppliesTo="all"

    Category="Cross Site">

    <!-- Field are picked from the parameter names-->

    <RuleDesigner Sentence="Create consultation item with title %1">

    <FieldBind Field="TaskTitle" Id="1" DesignerType="TextArea" />

    </RuleDesigner>

    <Parameters>

    <Parameter Name="TaskTitle" Type="System.String, mscorlib" Direction="In" />

    </Parameters>

    </Action>

    <Action

    Name ="Create a consultation report"

    ClassName="BuildConsultationDocument.GetDocument"

    Assembly="BuildConsultationDocument, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1547c2593289b6ad"

    AppliesTo="all"

    Category="Cross Site">

    <!-- Field are picked from the parameter names-->

    <RuleDesigner Sentence="Create consultation report with title %1">

    <FieldBind Field="ConsultationID" Id="1" DesignerType="Integer" />

    </RuleDesigner>

    <Parameters>

    <Parameter Name="ConsultationID" Type="System.Int32, mscorlib" Direction="In" />

    </Parameters>

    </Action>

    <Action

    Name ="Generate consultation report from ConsultationID and name"

    ClassName="ConsultationWFActions.GetDocument"

    Assembly="ConsultationWFActions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1547c2593289b6ad"

    AppliesTo="all"

    Category="Consultations">

    <!-- Field are picked from the parameter names-->

    <RuleDesigner Sentence="Create consultation report with ID %1 and name %2">

    <FieldBind Field="ConsultationID" Id="1" DesignerType="TextArea" />

    <FieldBind Field="ConsultationName" Id="2" DesignerType="TextArea" />

    </RuleDesigner>

    <Parameters>

    <Parameter Name="ConsultationID" Type="System.String, mscorlib" Direction="In" />

    <Parameter Name="ConsultationName" Type="System.String, mscorlib" Direction="In" />

    </Parameters>

    </Action>

    <Action

    Name ="Send an email create a consultation"

    ClassName="ConsultationWFActions.SendConsultationEmail"

    Assembly="ConsultationWFActions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1547c2593289b6ad"

    AppliesTo="all"

    Category="Consultations">

    <RuleDesigner Sentence="Send an email create a consultation">

    <FieldBind Field="ConsultationID" Id="1" DesignerType="TextArea" />

    <FieldBind Field="ConsultationName" Id="2" DesignerType="TextArea" />

    </RuleDesigner>

    <Parameters>

    <Parameter Name="ConsultationID" Type="System.String, mscorlib" Direction="In" />

    <Parameter Name="ConsultationName" Type="System.String, mscorlib" Direction="In" />

    </Parameters>

    </Action>

    </Actions>

    </WorkflowInfo>

    Has anyone any advice. 

    Vinay

     

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems