Default Element (WorkflowActions)
The Default element is a container for other elements and has no definable attributes.
The Default element is only read from the default WSS.ACTIONS file and cannot be overridden with a custom .ACTIONS file.
When you create workflows using a declarative, code-free workflow editor, such as Microsoft Office SharePoint Designer 2007, the .ACTIONS file that is installed on the server is combined into a single list of items and displayed to the workflow editor. Windows SharePoint Services 3.0 then searches for existing workflow conditions. If Windows SharePoint Services 3.0 finds a condition that is not represented by an entry in an .ACTIONS file, the Default element sentence is displayed for that condition.
The following XML demonstrates how to construct a Default element to make it visible to the workflow editor.
<WorkflowInfo Language="en-us"> <Conditions And="and" Or="or" Not="not" When="If" Else="ElseIf"> <Condition AppliesTo="list" Assembly="MyWorkflowProject.Workflow1 PublicKeyToken=71e9bce111e9429c, Version=126.96.36.199, Culture=neutral" ClassName="MyWorkflowProject.Workflow1.MyClass" FunctionName="IsOrderComplete" Name="Check if item in %1 is a complete order" Type="Custom" UsesCurrentItem="True"> <RuleDesigner>...</RuleDesigner> </Condition> <Default> <RuleDesigner Sentence="the file type is %1"> <FieldBind ID=1 Field="_1_" Text="specific type" DesignerType="Type"> <Option></Option> </FieldBind> </RuleDesigner> </Default </Conditions> </WorkflowInfo>