Trying to clear a collection using a workflow.
We have a form with generic fields up top and then a collection for vendor information. They can add multiple vendors which is why its in a collection.
At the end of the form, the user checks a radial asking if they want to add another item. If no, then we move on to the next form. If yes, we want to loop them back to the same form but with the information cleared.
So we have a simply workflow inbetween the passback that grabs all the variables and clears them. I can use a Set Business Process variables and set the variable equal to nothing, so for example:
personname=
This clears the item. However I cannot use more that one Set Business Process Variables nor does it seem I can put it in a For Each Row since I cannot iterate the variables. Any ideas on how to clear all form variables inside a collection if the user gets the form back?
Thanks