You need to sign in to do that
Don't have an account?
James Billings
How to deploy FieldUpdate on ApprovalProcess?
I'm trying to see if I can deploy some ApprovalProcess instances (using the ant tool for now). I've retrieved the processes themselves by adding the relevant bit to package.xml. But I'm not sure where the FieldUpdate action lives. The Approval Process file contains the name of it:
But the actual object/field isn't listed anywhere. Can I retrieve/deploy that as well? If so? where does it live and what do I need to add to package.xml to pick it up?
<approvalStep> <allowDelegate>false</allowDelegate> <approvalActions> <action> <name>UpdateApprovalStatus</name> <type>FieldUpdate</type> </action> </approvalActions> ......
But the actual object/field isn't listed anywhere. Can I retrieve/deploy that as well? If so? where does it live and what do I need to add to package.xml to pick it up?
You can find the field update under initialSubmissionActions. Just check the below metadat that may help you.
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_approvalprocess.htm
--
Thanks,
Prashant