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
tobias.brandtobias.brand 

Flow saving instruction, but deletes it when closing window

Hello Forum!

I encounter some strange behaviour, when creating a flow:

The flow is looking at a related list (projects) and sorts this list by a date field (date of last milestone deadline__c) in descending order. This will give me the deadline of the project that is most far in the future. This is working and in "picture 1" you can see, how I did that.

Here comes the issue:
I click save to save the flow and it saves the flow as shown in picture 1.picture 1

But when I close the flow designer window and then reopen the the flow, my flow looks like in picture 2. As you can see, salesforce has deleted the "sort result by" field.

There is no error message. I can save the flow. I can run it. It works as long I do not close the flow designer window.

Is this a bug or expected behavior? 

picture 2
ShashankShashank (Salesforce Developers) 
This has been identified as a known issue and can be tracked here: https://success.salesforce.com/issues_view?id=a1p300000008XiMAAU