2.2.4.42 WorkflowData

Namespace: http://schemas.microsoft.com/sharepoint/taxonomy/soap/

This type specifies one or more workflow associations for a content type.

 <xs:complexType name="WorkflowData">
   <xs:sequence>
     <xs:element minOccurs="1" maxOccurs="1" name="WorkflowAssociations">
       <xs:complexType>
         <xs:sequence>
           <xs:element minOccurs="1" maxOccurs="unbounded" name="WorkflowAssociation">
             <xs:complexType>
               <xs:sequence>
                 <xs:element minOccurs="1" maxOccurs="1" name="object">
                   <xs:complexType>
                     <xs:sequence>
                       <xs:choice minOccurs="19" maxOccurs="19">
                         <xs:element minOccurs="16" maxOccurs="16" name="sFld">
                           <xs:complexType mixed="true">
                             <xs:sequence minOccurs="0" maxOccurs="1">
                               <xs:element minOccurs="23" maxOccurs="23" name="sFld">
                                 <xs:complexType>
                                   <xs:simpleContent>
                                     <xs:extension base="xs:string">
                                       <xs:attribute name="type" type="xs:string" use="required"/>
                                     </xs:extension>
                                   </xs:simpleContent>
                                 </xs:complexType>
                               </xs:element>
                             </xs:sequence>
                             <xs:attribute name="type" type="xs:string" use="required"/>
                             <xs:attribute name="name" type="xs:string" use="required"/>
                           </xs:complexType>
                         </xs:element>
                         <xs:element minOccurs="3" maxOccurs="3" name="fld">
                           <xs:complexType>
                             <xs:simpleContent>
                               <xs:extension base="xs:string">
                                 <xs:attribute name="type" type="xs:string" use="required"/>
                                 <xs:attribute name="name" type="xs:string" use="required"/>
                               </xs:extension>
                             </xs:simpleContent>
                           </xs:complexType>
                         </xs:element>
                       </xs:choice>
                     </xs:sequence>
                     <xs:attribute name="type" type="xs:string" use="required"/>
                   </xs:complexType>
                 </xs:element>
               </xs:sequence>
             </xs:complexType>
           </xs:element>
         </xs:sequence>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
 </xs:complexType>

WorkflowAssociations: A list of workflow associations for a content type.

WorkflowAssociations.WorkflowAssociation: A workflow association.

WorkflowAssociations.WorkflowAssociation.object: A workflow association.

WorkflowAssociations.WorkflowAssociation.object.sFld: A field value of the workflow association. There MUST be the following:

  • An sFld with type "Boolean[]", name "m_updatedProp", and no value.

  • An sFld with type "String", name "m_strName", and the value of the workflow association name.

  • An sFld with type "String", name "m_strDescription", and the value of the workflow association description.

  • An sFld with type "Int32", name "m_autoCleanupDays", and the value of the workflow association auto clean up days.

  • An sFld with type "Guid", name "m_id", and the value of the workflow association identifier.

  • An sFld with type "Guid", name "m_baseId", and the value of the workflow template identifier.

  • An sFld with type "Guid", name "m_parentId", and the value of the identifier of the parent association in the parent content type of this association's content type.

  • An sFld with type "String", name "m_strContentTypeId", and the value of the content type identifier.

  • An sFld with type "Guid", name "m_taskListId", and the value of the task list identifier.

  • An sFld with type "Guid", name "m_historyListId", and the value of the history list identifier.

  • An sFld with type "String", name "m_strTaskListTitle", and the value of the task list title.

  • An sFld with type "String", name "strHistoryListTitle", and the value of the history list title.

  • An sFld with type "DateTime", name "m_created", and the value of the created time.

  • An sFld with type "DateTime", name "m_modified", and the value of the modified time.

  • An sFld with type "String", name "m_associationData", and the value of the association data.

  • An sFld with type "Int32", name "m_author", and the value of the author identifier.

    "m_updatedProp" MUST NOT contain a value, and MUST contain 23 sFld sub elements. Other sFld elements MUST NOT contain any subelements.

WorkflowAssociations.WorkflowAssociation.object.sFld.sFld: A field value of the "m_updatedProp" element.

  • The type attribute MUST be "Boolean".

  • The value of the element MUST be "true" or "false".

    There MUST be 23 of this type for "m_updatedProp". Each one specifies whether a specific attribute of the workflow association has been changed.

  • The first, second, and third MUST have a value of "false".

  • The fourth is for the name.

  • The fifth is for the description.

  • The sixth is for the status field name.

  • The seventh and eighth MUST have a value of "false".

  • The ninth is for the list identifier.

  • The tenth is for the content type identifier.

  • The eleventh MUST have a value of "false".

  • The twelfth is for the task list identifier.

  • The thirteenth is for the history list identifier.

  • The fourteenth is for the task list title.

  • The fifteenth is for the history list title.

  • The sixteenth, seventeenth, and eighteenth MUST have a value of "false".

  • The nineteenth is for the PermissionsManual (the WSS Rights Mask, as specified in [MS-WSSFO2] section 2.2.2.14, required to manually start any workflows created from the workflow association) of the workflow association.

  • The twentieth MUST have a value of "false".

  • The twenty-first is for AutoCleanupDays (the number of days after which finished workflows created from the workflow association will be automatically deleted) of the workflow association.

  • The twenty-second is for AssociationData (customized settings for this workflow association) of the workflow association.

  • The twenty-third is for configurations of the workflow association.

WorkflowAssociations.WorkflowAssociation.object.sFld.sFld.type: Reserved. MUST be "Boolean".

WorkflowAssociations.WorkflowAssociation.object.sFld.type: The type of an attribute.

WorkflowAssociations.WorkflowAssociation.object.sFld.name: The name of an attribute.

WorkflowAssociations.WorkflowAssociation.object.fld: An attribute of the workflow association. There MUST be:

  • An fld with type "Microsoft.SharePoint.SPBasePermissions, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c", name "m_bpermManual", and the value of the workflow association’s PermissionsManual property.

  • An fld with type "null", name "m_strStatusFieldName", and the value of the status field name for the workflow association.

  • An fld with type "Microsoft.SharePoint.Workflow.SPWorkflowAssociationCollection+Configuration, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c", name "m_configuration", and the value of the workflow association’s configurations.

WorkflowAssociations.WorkflowAssociation.object.fld.type: The type of the attribute.

WorkflowAssociations.WorkflowAssociation.object.fld.name: The name of the attribute.

WorkflowAssociations.WorkflowAssociation.object.type: The assembly qualified name of the class of the workflow association code.