Trigger limitations

A working list of Trigger limitations (a limit is no necessarily bad) that have been helpful to understand when designing/building triggers.

  1. Triggers cannot fetch from the ledger. Triggers can only ready from the current ACS.
  2. Exercising a choice in a trigger cannot return the result because of the choice’s async nature.
  3. All data you need to execute the data should be found in the ACS. This can mean chaining trigger > Choice > new Contract > new trigger in order to generate the proper data
  4. Triggers actAs a single user but can be provided multiple readAs rights.
  5. docs are generally unclear on usage of updateState: TODO