pass a record local variable to a process model

Certified Associate Developer

I want to pass a record type local variable to a process model, I get an error on either ways I'm trying, I just want to make sure I'm on the right track, which of this two was is the correct one, if any?

local!myVariable

or

local!myVariable[recordtype!myRecord]

thank you

  Discussion posts and replies are publicly visible