Hi @dmrudakov , Thanks for your patience. Since you shared the workflow with me via email earlier, I modified it to correct the error by updating the value of the final Google spreadsheet column to:
{{event.action?.display?.entities?.comment?.text}}
Notice the ?.
That’s called the optional chaining operator. By default, JavaScript will throw an error if you try to reference a property of an undefined object. event.action.display.entities.comment
doesn’t exist when you move cards, so when you try to read event.action.display.entities.comment.text
, JavaScript throws an error.
When you use ?.
to reference object properties, if any intermediate properties of those variables aren’t present, the variables would evaluate to undefined
instead of throwing an error.
Let me know if that helps