Project

General

Profile

Actions

Feature proposal #5298

closed

Implement modifying of trigger variables by reference

Added by krileon almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
28 May 2015
Due date:
% Done:

100%

Estimated time:

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.

Actions #1

Updated by krileon almost 9 years ago

  • 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.

Actions #2

Updated by krileon almost 9 years ago

  • 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..

Actions #3

Updated by krileon almost 9 years ago

  • 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).

Actions #4

Updated by krileon almost 9 years ago

  • 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.

Actions #5

Updated by krileon almost 9 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 50 to 100
Actions #6

Updated by krileon almost 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF