I'm hoping to design an app where user can specify the field to sort on and the sort order (ascending/descending). I'm not sure how to accomplish both requirements in one task. Has some one done this before and a walk through of the key configurations of actions on sort tool would be great!
Thank you!
Solved! Go to Solution.
Change the value of the first action tool like below
This is what I have right now... Could you say more about the change and explain a little bit of why?
For some reason, I can get it work now... If you could explain the mechanism of how alteryx recognize the inputs (sort by field, and sort order) that would be terrific!
An extra applause if you could share an example about when to use "Replace a specific string" in the action config!
Thank you!
When you connect an Action tool to the top of another tool and select Update Value, you can pick which of the configurable fields in that tool you want to update. So if it's a sort tool, the configurable fields are the field to sort on and the sort order.
IN the original workflow you attached, both action tools were set to update the value of the sort order. The 1st one should be set to update the value of the field to sort on.
So the value coming through the action tool will replace to entire contents of the field you've selected to update. Unless, you check the Replace specific string box, in which case you can define a specific part of the string in the value field to be replaced.
Hope this makes sense.