Articles

Why Is My Workflow Creating Things Multiple Times Each Time It Runs?

Follow

Plan Availability - Max.png
For more information about upgrading your SiteDocs Package, click here!

 

Workflow Studio is not an Artificial Intelligence, so often if you are not careful Workflows can create duplicate data. This is likely caused by the output of one of your modules being several items. The common reasons for this include but are not limited to:

    • Multiple matches for search criteria (ex: Workers with the same name, Workers with multiple Certifications of the same Type, multiple Forms signed at the same location, etc.).
    • An Iterator returned multiple values that were not then Aggregated to put them back into a single String (for more information about Iterators, click here).
    • A filter is not specific enough (ex: Filtering by First name only, Filtering with "Contains" instead of "Equals", not filtering for specific IDs).

How can you tell which module had multiple outputs?

When a Workflow runs, each module shows a detail message for the input and output of that particular module. You can find it by clicking in the bubble above each module. 

Output_detail.gif

The number in each bubble shows how many outputs were generated by that module. To find out why this Chat module has three outputs, I would check the output of the Search Worker module right before it.
Screenshot_2023-02-21_at_12.12.09_PM.png

Was this article helpful?
0 out of 0 found this helpful

Comments