Where to place dispatcher xaml in ReFramework

Hi,
I have one xaml as dispatcher where I’m extracting items from excel and adding into queue. Where do I need to place this in ReFramework?
Can I place this into init all applications xaml?

Please suggest.

@Nisha_K21,

Put it in process.xaml. Also make sure you are configuring REFramework to run it once or linear.

Use REFramework documentation for how to make it liner.

@ashokkarale ,
I’ve made ReFramework as linear. So, can I add that dispatcher xaml into process?
Or should I add that xaml into first run?

@Nisha_K21,

Just put your logic to read excel and add to queue item in process.xaml

@ashokkarale , thanks for replying.
I have one question can’t we add the same logic into first run or in init all application xaml when building a dispatcher model?

@Nisha_K21,

We can add but as per best practice we should not because Init state is strictly for settings/config initialisation, application initialisation.

If we add this logic in init state and any system exception occurs in later stages, bot will retry to init state again.

Thanks,
Ashok :slightly_smiling_face:

1 Like

@Nisha_K21

  1. If you want to combine dispatcher and performer then you can start with havign init all application and have the performer logic normally in process
  2. if you want a separate dispatcher then based on how you are adding either you can make it linear or transaction base and add logic in process

cheers

1 Like

Thanks @ashokkarale and @Anil_G

2 Likes

@Nisha_K21

Happy Automation

cheers

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.