• 1 reply
  • Latest Post - ‏2012-12-01T12:42:06Z by JackAtAlbacore
44 Posts

Pinned topic How to append value to a recurring node

‏2012-11-14T17:28:05Z |

I'm just wondering how we can append a single node variable to a recurring node. Our current project is doing a Database insertion, and I find we have a batch option in the DB insertion activity. So instead of inserting one record at a time, I use the batch option. Now the input becomes a recurring node, so I want to append all values into a recurring node first. Thanks in advance.
Updated on 2012-12-01T12:42:06Z at 2012-12-01T12:42:06Z by JackAtAlbacore
  • JackAtAlbacore
    2 Posts

    Re: How to append value to a recurring node

    You can do this using Map Variables. The accumulating variable is initialised and mapped to itself. Then on the RHS of the Map Variables activity right-click on the top level of the variable and select Expand Occurrences. Accept the default of one.

    Add your incoming variable that adds variables on the left hand side and map to the new occurence.