I am making a workflow that uses a script filter. The keyword is "date", a space is required, and the argument is optional.
The script returns xml with 4 <item>s, and the items include uids. The uids correspond to different date formats, and do not depend on the arguments given.
I am expecting Alfred to use the uids to put the more recently used date formats at the top. This is mostly true, but with one problem. It appears that Alfred is tracking two sets of usage data, one for the keyword with arguments and another for the keyword without arguments. So if I type "date", it shows at the top the date format that I usually pick when not using arguments, whereas if I type "date [some argument]" it shows me the date format that I pick when using arguments. This causes undesirable shuffling of result rows.
If the issue is unclear, let me know and I can add a video or something.