Feature proposal #5298
closed
Implement modifying of trigger variables by reference
Added by krileon over 9 years ago.
Updated over 9 years ago.
Description
If possible implement passing the trigger variables around by reference so they can be modified by a Code action (pass them to create function as references as well). This would allow more fine control over various behavior.
- Status changed from Assigned to Rejected
- Target version deleted (
6.3.0)
- % Done changed from 0 to 100
Not needed for any common usage and too risky.
- Status changed from Rejected to Assigned
- Target version set to 6.3.0
- % Done changed from 100 to 0
This is really needed for adding new HTML, etc.. on the activity item trigger to add footers, etc..
- Status changed from Assigned to Rejected
- Target version deleted (
6.3.0)
- % Done changed from 0 to 100
Won't work. CB Auto Actions has no clue what variables of the 10 supported will or will not be references. It will cause reference warnings to throw. Instead the triggers need to support reference variables in addition to handling array results for new data positioning (kinda like the login module).
- Status changed from Rejected to Assigned
- Target version set to 6.3.0
- % Done changed from 100 to 50
Aaaand it's open again!
Found a solution. New parameter lets you select what variables should be passed as references and it'll establish that with a create function usage. The current anon function usage will be used if no references are needed as it's a better usage.
- Status changed from Assigned to Resolved
- % Done changed from 50 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF