function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ryan Avent 14Ryan Avent 14 

sfdx force:source:pull doesnt seem to retrieve changes to flows

Hello im haveing an issue with SFDX in a newly created scratch org (tried the same process in multiple).

I currently have two 'Autolaunched Flow' which i have used the 'Save as' option to create copies of, these have then changed to 'Record-Triggerd Flow' when compleeting the flow and setting it as active i am able to retrieve the new flow using the command:

  • sfdx force:source:pull

Note: The new flows lables end with Trigger, and i have renamed the old ones ending with (deprecated) ...

new flows

However when i push the source to a diffrent scratch org (new org) i dont see the Record-Triggerd Flow section populated, and when looking at the flow i can see its an automated process, i also dont see (deprecated) suffix on the older flows...

wrong data
I have also tried using the command below and am seeing the same result

  • sfdx force:source:retrieve -m flow

SFDX Version: sfdx-cli/7.180.0 win32-x64 node-v18.12.1

SFDX Project sourceApiVersion:45.0

Anyone got any ideas why im get getting to correct data pulled down?

VinayVinay (Salesforce Developers) 
Hi Ryan,

This might be due to special character in your flow name,  and triggering point 'record run after save' would come under post deployment activities.

Thanks,