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
Raj01Raj01 

No of records should be submitted to Approval process

Hi,

I have a field "Percentage of Approval" on Custom setting this will be stored % value. This can be changed at any time. 

If 10% then for every 100 records, 10 records should be submitted for approval. (10th, 20th, 30th etc)
If 90% then for every 100 records, 90 records should be submitted for approval ( 1 to 9, 11 to 19) 
If 40% then for every 100 records, 40 records should be submitted for approval.

Any help is appreciated.