Posibility of Executing another REFramework Solution Through Another?

Actually, the Enhanced ReFremework introduces a concept of Tasks. As such, you could simply put your dispatcher as a Task that will run once on the first run of the entire process. You could set it up to return a simple boolean of the number of uploaded queue items and only proceed further if there are items to be processed.

I suggest you to only get into it when you feel like it :slight_smile: The Enhanced ReFremework is a bit more complicated than the standard one, but it’s rewarding to just sit down and understand what it does.

For the actual invokes, you would indeed need to inject your folders in the right places of the enhanced framework.
My old project was a process handler with no Orchestrator. I had the Enhanced ReFramework load up a config with names of my processes as transactions. It would then go over each transaction, go to the ProcessTransaction workflow and in there invoke the correct sub-framework based on its name.
For me, each sub-framework was placed in the Tasks folder.

So just to put it visually, its 1 transaction was split into several tasks (and each of those tasks were actual old ReFrameworks) :slight_smile:


(Paint FTW, above - ReFramework, below - Enhanced ReFramework)

For you the setup would be much simpler. But once again, only dive into it if you have time. It might seem a bit difficult (especially the documentation), but really rewarding.

If I remember correctly, there is also an Init Task (which is a framework as well) which can be set-up to run once. It seems perfect for the Dispatcher :slight_smile:

7 Likes