Hi, I have a workflow with a template sent ...

expressions
(Benoit Gramond) #1

Hi,

I have a workflow with a template sent by mail.

I need to use order by on multiple columns,

when I use one it works but when I try to use more there is a failure.

Do you think it is possible? Or maybe my Expression is not good?

Here is the expression:

<<Start:ORDERBY([Related v_order_refs],[vc_capsule],[vc_theme],TRUE)>>

(Steven Coile) #2

Each column name must be followed by an ordering-direction indicator (TRUE for descending, FALSE for ascending):

<<Start:ORDERBY([Related v_order_refs], “vc_capsule”, FALSE, “vc_theme”, TRUE)>>

(Benoit Gramond) #3

+Steve Coile Thanks a lot. It works perfectly!