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
Jerry ClifftJerry Clifft 

Auto-updating sort order field

I am trying to create a field on a custom obkect that behaves like the field sort order does on the lead/case assignment rules page.

Example
Record 1, Sort Order 1
Record 2, Sort Order 2
Record 3, Sort Order 3

Then if I change:
Record 1, Sort Order 1
to
Record 1, Sort Order  2

Salesforce will then change:
Record 1, Sort Order 1 to Sort Order 2
Record 2, Sort Order 2 to Sorf Order 3
Ashish_SFDCAshish_SFDC
Hi Jerry, 

Can you elaborate a litte more, We can have a work flow to update a field on a record based on criteria -  Criteria hold true if we use teh ISCHANGED function on the Field. 

Regards,
Ashish