The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.
I recently discovered Automation feature, and I would like to replace my many dozens of Zapier zaps. However, I am having trouble finding any documentation about it. There isn’t even a community tag for it! When I do any kind of search I come up with...
Thanks so much, Kamille and Justin. Figuring this out is key to so many things I need to do! The console output concealing the true data type is certainly confusing! This is not the first time I’ve solved tricky issues by using a rollup instead of a ...
I think I found a workaround! Instead of using a lookup, I used a rollup with arrayjoin as an aggregator, which makes a string. I passed in that variable, and the automation worked!
So has the issue all along been type mismatch?
CONSOLE.LOG
“recordId = recmFF1a8zmhQoBSm”
CONSOLE.LOG
“ownerId = recAbW2ArcSIQwM8I”
btw, in my original post I had also noted an issue attempting something very similar but not within javascript. I was attempting to link a record to a looked up reco...
Yes, there is a single record ID value that is the correct one. I even tried wrapping it in quotes, but I still get the same error.
"Owner": [{id: '"' + ownerId + '"'}], /// no effect
Thanks so much for your reply. So I fixed the part you suggested:
let config = input.config();
let recordId = config.recordId; // this grabs the ID of timesheet entry record
let ownerId = config.taskOwnerId // this is a lookup of a record ID field ...