[action] add generic order action.

(cherry picked from commit 4b75c077bdb7caabea69ffb87a147eb3fc605737)