Best template for handling transactional file treatment

Hello,

I am trying to find the most relevant project architecture for a process that does the following :

  • gets all the files in a sharepoint folder
  • for each one of them, checks if the file has already been processed (ie is in a queue)
  • if not, read the file and adds te data to queue item

Should i use reframework, and treat each file as a transaction, or should i just use a sequence and manage these conditions inside of it? looking for the easiest and cleanest way

thank you

In my opinion, a sequence is a good choice for this kind of simple dispatcher processes.

Hey @adext,

It is better to use the RE-Framework because of its vital exception handling capabilities. You can set each file as a transaction and benefit from the exception handling of the framework.

However, if the process is pretty simple and you still need the process to be followed in an orderly fashion, then you can create Linear Process using RE Framework. This framework will not involve Queues.

And if the process does not need to be systematic, then a simple sequence will suffice.