Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflows on objects from a managed package are ignored #241

Open
jeremyross opened this issue Feb 14, 2017 · 3 comments
Open

Workflows on objects from a managed package are ignored #241

jeremyross opened this issue Feb 14, 2017 · 3 comments
Labels

Comments

@jeremyross
Copy link
Contributor

Solenopsis seems to ignore workflow on objects from managed packages. Is there a way to force it to pull/push these, as there is with custom objects (sf.members.objects.values property)?

@jeremyross
Copy link
Contributor Author

I think the same thing applies to other types, such as layouts. E.g., a managed package includes a layout, which can be modified in the installing org, and therefore makes sense to track and deploy.

@pcon
Copy link
Member

pcon commented Feb 14, 2017

This is an interesting problem because the ant target with a wildcard for members doesn't pull down anything in a managed package. To get this, we'd have to query the metadataAPI to get a list of objects and then add those individually to the members list in the package.xml prior to pulling. Might be worth seeing if we can do a stopgap of having a list of managed package objects in a text file and having Solenopsis read that (if it exists) and having them added to the package.xml at runtime.

@sfloess What are your thoughts on adding a -Dsf.managedObjectList=/path/to/objects.txt that is in the format of

sf4twitter__Twitter_Account__c
sf4twitter__Twitter_Contributor__c
sf4twitter__Twitter_Conversation__c

And adds a <members>sf4twitter__Twitter_Conversation__c</members> for each entry in that list under objects. I think that will also pull down the layouts and workflows, but I'm not 100% sure. It would be easy enough to add them to the workflows section, but layouts is a bit harder.

@sfloess
Copy link
Member

sfloess commented Feb 14, 2017

@pcon - yeah sure seem reasonable. I'm realizing I need to get moving on the metadata api ;) But yes seems fair.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants