sfdx force:source:pull doesn’t retrieve FlowVisibilityRule

I created a Flow with several conditional rendering of screen components. When I pull the source from the scratch org, the metadata of the flow is missing the FlowVisibilityRule for all the components, so this functionality is missing.

Do I have to set something specific to pull these information or is there any other workaround (besides creating those metadata manually)?

Answer

Ok, when I set the API version to 47.0 and rebuild it in a newly created scratch org, the visibility rules for the screen components have been pulled.

This is confirmed by looking at the Metadata API documentation for Flow and FlowVisibilityRule

enter image description here

Attribution
Source : Link , Question Author : mluecke , Answer Author : Kris Goncalves

Leave a Comment