RE: Workflow to create task on opportunity

I wondered if you could help me with something. I am trying to create a workflow that creates a task when I save an opportunity. I can make it create the record as a standalone task but I am having an issue when I try to link it to the opportunity itself. I have followed suite answers article 40773

but when I save the record I keep getting the error

Invalid transaction reference key 5482 for company <NULL>.

I assume this is because the opportunity ID isn’t created until the record is saved? I do have the trigger set at after record submit though.

Yoggy42 Beginner Asked on April 21, 2020 in How To's.
Add Comment
3 Answers

Assigning the entity (company) before assigning the related transaction solved the issue for me.

Rookie Answered on August 17, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.