IDEA: Iterate through model in action framework

  • 4
  • Idea
  • Updated 3 years ago
  • Under Consideration
It would be neat if in the action framework there was an action for "iterate through model" which would have sub actions. The sub action sequence would repeat a number of times equal to the number of rows in the designated iteration model. Each repeat would put the next row of the iteration model in context allowing you to grab out field values from the row in context of the iteration model to use in the sub actions. This would blow open a whole new range of possibilities. For example: you could create an action sequence that activates and sets the value of model conditions on Model A, then sets Model A as the "Iterate through model" model. It would give you the ability to create very interactive "on the fly" loops for creating and updating rows.
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 17,224 Points 10k badge 2x thumb

Posted 3 years ago

  • 4
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Interesting idea Raymond.  I like the way you think.  
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,096 Points 10k badge 2x thumb
Great idea Raymond.  Also, another strong use case for "Custom Actions".  Short of waiting for "iterate model" to be added to the core Action Framework, in about 60 minutes, a custom action could be written to accomplish it.  +1 for iterate model action framework support and for custom action support!