Prioritizing First Path in Router for File Processing Irrespective of Upload Sequence | Community
Skip to main content
Level 3
November 27, 2023
Solved

Prioritizing First Path in Router for File Processing Irrespective of Upload Sequence

  • November 27, 2023
  • 1 reply
  • 1476 views

In the context of my project, I am utilizing a watch record module. This module is specifically designed to detect uploaded files based on their names. Once a file is identified, the module triggers a download and conducts a series of operations on the file. The pathway these operations take is critical to the overall functionality of the module. Currently, the routing decision is based on the file names, specifically if the file name contains 'XYZ' or 'ABC'.

The challenge lies in the order in which the user uploads the files. I need to ensure that the first path is always prioritized, with the second path being a secondary option. I have attached pictures for your reference.

As of now, in some instances, the router initially takes the second path and then conducts the operation, irrespective of the order in which the files are uploaded.

How can I adjust or modify the settings of my watch record module to ensure that the processing of files always follows the first path in the router before considering the second path, regardless of the sequence of file uploads?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Rafal_Bainie

Hi there,

what you are highlighting on your picture is actually default for Fusion, it always goes from top to bottom assuming routes are ordered.

All relevant details are here:
https://experienceleague.adobe.com/docs/workfront/using/adobe-workfront-fusion/modules-in-fusion/router-module.html?lang=en

 

  • To verify the order of the routes, you can click the Auto-align icon, which will arrange the routes according to the order from top to bottom.

    To change the order, remove the Router module and re-connect the routes in the desired order.

  • Routes are processed sequentially, not in parallel. A bundle is not sent to the next route until it has been completely processed by the previous route.



 

1 reply

Rafal_Bainie
Community Advisor
Rafal_BainieCommunity AdvisorAccepted solution
Community Advisor
November 27, 2023

Hi there,

what you are highlighting on your picture is actually default for Fusion, it always goes from top to bottom assuming routes are ordered.

All relevant details are here:
https://experienceleague.adobe.com/docs/workfront/using/adobe-workfront-fusion/modules-in-fusion/router-module.html?lang=en

 

  • To verify the order of the routes, you can click the Auto-align icon, which will arrange the routes according to the order from top to bottom.

    To change the order, remove the Router module and re-connect the routes in the desired order.

  • Routes are processed sequentially, not in parallel. A bundle is not sent to the next route until it has been completely processed by the previous route.



 

SAadi2Author
Level 3
November 27, 2023

Hey thanks, @rafal_bainie is there a way to hard impose the same, just to be really sure, sometime during my run it went the other way first even though both the files were available to be downloaded 🙂 

SAadi2Author
Level 3
December 1, 2023

there is no way Fusion will skip any of the routes, this is essence of this design.

All routes are processed, from top to bottom. just make sure to use "auto-align" to see if your modules are properly ordered.

 


Hello @rafal_bainie , I'm sending you a screenshot to illustrate the issue I'm facing. Regardless of the sequence in which I upload documents, the system processes the bottom path first, then the top path. To provide some context, it is supposed to process the 'Commitments' files first, followed by the 'Actuals'. I sort the files based on whether the filenames contain 'Actual' and if the other router condition filename includes 'Commitments'.

Is there a way to fix this?