I want to create trigger after card creation/edit and to log its attributes. But i can’t find any documentation about what should i write in console.log(...)
to write entered attributes.
Is there any documantation about it?
Did you find information about this?
No, but i used console.log(arguments) in triggers, you know.
Examples:
1.Card parameters in trigger: arguments[0].record
- Object arguments[0] has function, i found saveRecord(), which can be used after arguments[0].record change. Then, new data of arguments[0].record will be saved in the card:
arguments[0].record.data.Description = arguments[0].record.data.Description + “(end).”;
arguments[0].saveRecord();
1 Like