I have a Fusion workflow that iterates through a bunch of information. Once it's fully complete, I need a single update posted to the project that the actions were taken. I can't seem to figure out how to do this correctly. I'm getting multiple updates, 1 for each document I'm iterating through.
Any ideas?
Solved! Go to Solution.
Views
Replies
Total Likes
Here's a dummied up example of something I am using: I create an array variable, and then use get/setVariable to add an element
You can also use a text variable and keep adding to it.
It's key to always do a GET before you update the variable, especially after an iterator (since you're in a loop now)
Let me know if that makes sense
Views
Replies
Total Likes
Hi @TravisGrogan1 - you would need to use an aggregator to close the iterator and then post an update. I have a similar scenario where I use a dummy aggregator and send an email to the mailbox.
Here is an example:
Views
Replies
Total Likes
Unfortunately, this does not seem to be working for me. Not sure what I'm doing wrong.
Views
Replies
Total Likes
Alright, your iterator has more than one operation. So, you'll need a second aggregator as shown in the image below with arrows. The first aggregator is in the box. Essentially, the final aggregator should only perform one operation for your case to work.
Here is an example:
Views
Replies
Total Likes
If you are still struggling with this, another option is to add a router right before your iterator, and put after thing you want to run once after your iteration is complete on a new leg coming off of the router.
Views
Replies
Total Likes
Here's a dummied up example of something I am using: I create an array variable, and then use get/setVariable to add an element
You can also use a text variable and keep adding to it.
It's key to always do a GET before you update the variable, especially after an iterator (since you're in a loop now)
Let me know if that makes sense
Views
Replies
Total Likes