IDEMPIERE-4376:order activity workflow by ID (also time it's created) (#187)
maybe order by seq-no of node link to activity is more stable than ID
This commit is contained in:
parent
80146138ac
commit
30ce8cc5be
|
@ -184,6 +184,7 @@ public class MWFProcess extends X_AD_WF_Process
|
|||
}
|
||||
List<MWFActivity> list = new Query(getCtx(), MWFActivity.Table_Name, whereClause.toString(), trxName)
|
||||
.setParameters(params)
|
||||
.setOrderBy(MWFActivity.COLUMNNAME_AD_WF_Activity_ID)
|
||||
.list();
|
||||
m_activities = new MWFActivity[list.size ()];
|
||||
list.toArray (m_activities);
|
||||
|
|
Loading…
Reference in New Issue