12.07.2015 Views

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Metadata</strong> TypesWorkflowDeclarative <strong>Metadata</strong> File Suffix and Directory LocationWorkflow files have the suffix .workflow. There is one file per custom object that has workflow. These files are stored inthe workflows directory of the corresponding package.VersionWorkflow rules are available in <strong>API</strong> version 13.0 and later.WorkflowThis metadata type represents the valid types of workflow rules and actions associated with a custom object.Field NamefieldUpdatesfullNameknowledgePublishesoutboundMessagesrulesField TypeWorkflowFieldUpdate[]stringWorkflowKnowledgePublish[]WorkflowOutboundMessage[]WorkflowRule[]DescriptionAn array of all field updates for the object associated withthe workflow.The developer name used as a unique identifier for <strong>API</strong>access. The fullName can contain only underscores andalphanumeric characters. It must be unique, begin with aletter, not include spaces, not end with an underscore, andnot contain two consecutive underscores. This field isinherited from the <strong>Metadata</strong> <strong>com</strong>ponent.An array of <strong>Salesforce</strong> Knowledge Workflow Publishesassociated with the workflow. Available in <strong>API</strong> version 27.0and later.An array of all of the outbound messages for the objectassociated with the workflow.An array of all the objects associated with the workflow.WorkflowActionReferenceWorkflowActionReference represents one of the workflow actions.Field NamenametypeField TypestringWorkflowActionType(enumeration of typestring)DescriptionRequired. The name of the workflow action.Required. Available types of workflow actions:• FieldUpdate• OutboundMessageWorkflowFieldUpdateWorkflowFieldUpdate represents a workflow field update. Field updates allow you to automatically update a field value toone that you specify when a workflow rule is triggered. For more information, see “Defining Field Updates” in the <strong>Database</strong>.<strong>com</strong>Help.Field NamedescriptionfieldField TypestringstringDescriptionThe description of the field update. This information is usefulto track the reasoning for initially configuring the field update.Required. The field (on the object for the workflow) to beupdated.171

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!