I have a process builder calling a flow, so I'm passing the record ID in to a variable which I've done before. For some reason it's being set to null for people other than myself though. Here's a snippet from the error email:
DECISION: myDecision
Executed this outcome: myRule_1
Outcome conditions: and
1. {!myVariable_current.Order_Status__c} (null) Does not equal Open
Logic: All conditions must be true (AND)
DECISION: myRule_1_pmetdec
Executed this outcome: myRule_1_pmetnullrule
Outcome conditions: or
1. {!myVariable_old} (null) Is null true
Logic: One condition must be true (OR)
UPDATEWOTASKS (FLOWS): myRule_1_A1
Inputs:
woID = {!myVariable_current.Id} (null)
I'll also attach the offending section of process builder. It's so strange that the record id would ever be null.
@Salesforce Flow Automation @Salesforce Automation Hour @Solo Admins @Admin Group, Raleigh, US
So here's an update. I wanted to take as much out of the equation as possible, so I put this in it's own process which worked perfectly (as expected). Then I added in the other process steps and it continued to work fine. I guarantee that this new process is EXACTLY the same as the old one, just a new process.
why? I have no clue, but I've had weirdness before with things originally created long ago. The original process was created about two years ago I think and they've made many updates. I'll chalk it up to bit rot.
Thank you very much for your help on this.