Everything in Books custom functions is passed as an argument. However, we’ve found it’s STILL much easier to get the ID and then do a getRecordByID line.
If none of this sounds familiar or you feel lost, check out our Intro to Deluge for Non-Programmers course!