You need to sign in to do that
Don't have an account?
Dynamic Choice Sort Error
I have created a Dynamic Choice in my VWF that queries Users that match a RoleId (looked up previously). This works and I can see the users in the dropdown list. The problem is that whenever I try to adjust the settings of the dynamic choice to sort the Users (doesn't matter which field I try to sort by) I receive an error:
Error: Correct the invalid field entries.
No fields are highlighted in red (which is normal behavior when you get this error). The only thing that allows me to save at this point is to deselect the checkbox for "Sort results by:".
Is this a bug or if not why can't I sort these records?
While attempting to get screenshots for you, I have been unable to reproduce the problem. All 3 dynamic choices I was unable to sort before now allow sorting as expected.
I've experienced this before on more than one occasion. For some reason it just will not let you specify sorting options so the only option, as you pointed out, is to save without specifying sorting options. Then at some point in the future when you return to edit the choice it allows you to specify sort options and save. Just as you've described. It is definitely a bug, but not easy to consistently replicate though.
And this is what it looks like immediately after deselecting the "Sort results by:" checkbox:
I'll take the general advice and close-reopen the flow. Just wanted to get this in there as proof positive that the bug exists, so maybe someone at Salesforce will take notice.