[SalesForce] “Invalid literal value for picklist:” Error when deploying WorkflowFieldUpdate via ANT

Workflow Field Update is failing to deploy/validate due to the following error:

Invalid literal value for picklist:<yourPicklistValue>

What causes this?

Best Answer

This is due to the picklist value that is being used in this WorkflowFieldUpdate is not present in the Target org. Make sure to include the Field being updated in the package OR make sure that the picklist value exists in the Target org.

Related Topic