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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Metadata</strong> TypesWorkflowField NamecriteriaItemsdescriptionformulafullNametriggerTypeworkflowTimeTriggersField TypeFilterItem[]stringstringstringWorkflowTriggerTypes(enumeration of type string)WorkflowTimeTriggerDescriptionAn array of the boolean criteria (conditions) under whichthis rule fires. Note that either this or formula must beset.The description of the workflow ruleThe formula condition under which this rule first (eitherthis or criteriaItems) must be setThe 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.Under what conditions the trigger fires. Valid values are:• onAllChanges - The workflow rule is considered onall changes.• onCreateOnly - The workflow rule is considered onlyon create.• onCreateOrTriggeringUpdate - The workflowrule is considered on create and triggering updates.Represents a set of Workflow actions (Field Updates andOutbound Messages) that should execute before or after aspecified interval of time.WorkflowTimeTriggerRepresents a set of Workflow actions (Field Updates and Outbound Messages) that should execute before or after a specifiedinterval of time.Field NameactionsoffsetFromFieldtimeLengthworkflowTimeTriggerUnitField TypeWorkflowActionReference[]stringstringWorkflowTimeUnits(enumeration of typestring)DescriptionAn array of references for the actions that should happen whenthis trigger fires.The date type field name that the time-based workflow triggersoff of, i.e. Created Date, Last Modified Date, RuleTrigger Date or a custom date field on the object for whichthe workflow rule is defined.The numeric value of the time after/before the workflowtriggers. A negative value represents the time length before thetrigger will fire.The unit of time before or after which the time-based workflowwill trigger. Valid string values are:• Hours• Days175

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

Saved successfully!

Ooh no, something went wrong!