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> TypesWorkflowField NameformulafullNameliteralValuelookupValuelookupValueTypenamenotifyAssigneeoperationField TypestringstringstringstringLookupValueType(enumeration of type string)stringbooleanFieldUpdateOperation(enumeration of type string)DescriptionIf the operation field value is Formula, this is set to aformula used to <strong>com</strong>pute the new field value.Required. The developer name used as a unique identifier for<strong>API</strong> access. The fullName can contain only underscoresand alphanumeric characters. It must be unique, begin witha letter, 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.If the operation field value is Literal, this is the literalvalue for the field.If the operation field value is lookupValue, this is thelookup value that is referenced.The type of object that the lookupValue field value isreferencing. The valid values are:• Queue• RecordType• UserRequired. A name for the <strong>com</strong>ponent. Available in version<strong>API</strong> 16.0 and later.Required. Notify the assignee when the field is updated.Required. The operation that <strong>com</strong>putes the value with whichto update the field. Valid values are:• Formula - Indicates the field will be set to a formula. Ifset, the formula must be a valid formula.• Literal - Indicates the field will be set to a literal value.If set, the literalValue must be a valid literal value for thisfield.• LookupValue - Similar to Literal, but for an objectreference, such as a contact, user, account, etc. If set, thelookupValue element must be set. Only User issupported in the current <strong>API</strong>.• NextValue - Indicates that the field will be set to itsnext value; this is only allowed when the field updatereferences a picklist.• Null - Indicates the field will be set to null.• PreviousValue - Indicates that the field will be set toits previous value; this is only allowed when the fieldupdate references a picklist.protectedreevaluateOnChangebooleanbooleanRequired. Indicates whether this <strong>com</strong>ponent is protected(true) or not (false). Protected <strong>com</strong>ponents cannot belinked to or referenced by <strong>com</strong>ponents created in the installingorganization.When set to true, if the field update changes the field’s value,all workflow rules on the associated object are re-evaluated.Any workflow rules whose criteria are met as a result of thefield value change will be triggered.172

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

Saved successfully!

Ooh no, something went wrong!