function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MickyGMickyG 

Advanced priority allocation?

I am trying to assign all cases with a number starting at 1 and going to the total number of cases. The priority will be sorted by date.
 
i was thinking that something like
Value() = 1 
While value() <> #ProductionRecords() +1
<<Insert code here>>
Value() = Value() + 1
 
Is a function like this possible as a field update?
what code would i use?
has anyone done this before?
 
Cheers Michael Gill