5

I just installed the Force.com IDE because I needed to search my Apex code and workflow rules (which you're unable to do in Salesforce).

I noticed the Case Comment workflow component isn't being synced to my machine. How do I bring down the Case Comment data so I can search on it?

Case Comment is missing

  • 1
    Can you share the content of your package.xml file? – Adrian Larson Aug 29 '16 at 16:58
  • @AdrianLarson I'd prefer not to share the entire content of that file. Is there a specific element(s) you would like me to look for? – Justin Helgerson Aug 29 '16 at 17:05
  • 1
    I think specifically the Flow section. – Adrian Larson Aug 29 '16 at 17:06
2

You may want to manually edit your package.xml file and use wildcard characters. The Flow* and Workflow types are what you're interested in here. I'm not using Eclipse personally, but I think ensuring it contains this snippet should work (parent tags shown so you can see where to put it):

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>Flow</name>
    </types>
    <types>
        <members>*</members>
        <name>Workflow</name>
    </types>
    <version>37.0</version>
</Package>

See also:

* The Flow type will get you Visual Workflows and Process Builder, which might also be relevant here

  • 1
    Thanks for your help so far. I checked my packages.xml file and I already have the wildcard Flow and Workflow sections that you posted (version 36.0 instead of 37.0, but I'm guessing that's not the culprit). – Justin Helgerson Aug 29 '16 at 18:45
0

Eclipse will sync many metadata types, but not all of them. Please use the Force.com Migration Tool for access to all entities.

  • Probably worth adding a little more detail here. – Adrian Larson Aug 30 '16 at 18:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.