it's because the currentRecord.get and the search ...
# suitescript
k
it's because the currentRecord.get and the search are running as promises