Hello,
Can someone tell me wich item to chose from the 'sort by' section to get the selected object in a report in workflow order.
What I want is to sort functions by process or work flow.
Thank you.
Regards,
Dannis
Hello,
Can someone tell me wich item to chose from the 'sort by' section to get the selected object in a report in workflow order.
What I want is to sort functions by process or work flow.
Thank you.
Regards,
Dannis
Hey Dennis,
I am not sure I completely understand your question, but if I think what it is here you are
There are 2 options which we can sort this.
- set an attribute on the object if it has only one occurrence
then do a sorting based on this algorithim for (var a = 0; a < sortTheNumbers; ++a){
for (var b = 0; b < sortTheNumbers; ++b){
if(sortingArray[b][0] > sortingArray[b + 1][0]){
tempArray = sortingArray[b];
sortingArray[b] = sortingArray[b + 1];
sortingArray[b + 1] = tempArray
}
}
}
- the second option is to base in on occurrenceObj= ArisData.sort( Obj, Constants.SORT_Y, Constants.SORT_X, lang);
hope this helped
Hallo Kris,
I must admit that I am not an programmer like you. I use the WYSIWYG functionality. In time I will learn this. But sorting on the x and Y I will try.
I do thank you for your help!
Regards,
Dannis
I have received a tip from a Dutch IDS-Scheer consultant to use “Sort by geometry”. I am going to try this tomorrow. If I understand your story correct Kris, were you telling me the same in the second option, but then in code?
Dannis
Sorting by geometry doesn't work perfect at all. You have to use mathematics graph theory to solve the problem. There is an answer in this article: http://translate.google.com/translate?hl=en&sl=ru&tl=en&u=http%3A%2F%2Feasyaris.ucoz.ru%2Fpubl%2F1-1-0-1
Sorry for machine translating Russian.