I have biuild one solution in re frame work with separate dispatcher and performer model if want to integrate the despatcher in performer where do i have to invoke the file
where excactly i have to call it plz send the screen shot which will help me
Hi @T_Y_Raju
In RE frameworks we have the initialization state. Open that initialization you can find the one sequence with this name If first run, read local configuration file at the end of the sequence you can invoke the dispatcher workflow.
Check the below screenshot for your reference.
Step - 1 :
Open the Initialization state.
Step - 2 : Find for If first run, read local configuration file this sequence.
Step - 3 : In the sequence after the Log field activity with name (Add Log Fields (BusinessProcessName)) use the invoke workflow file activity to invoke the dispatcher workflow.
I already invoked the dispatcher xaml in the above image.
We are invoking the dispatcher in this first sequence because we have to run the dispatcher only once in the program to add the queues to the Orchestrator.
This first run sequence will execute at first time when the bot runs.
If a system exception is thrown in process state it comes to initialization state but it doesn’t touches the first run sequence.
Hope it helps!!
Hi @T_Y_Raju
You can call the particular xaml file in Init State under First Run or in Initialization Settings xaml too .
Regards,
You have to invoke your dispatcher in First run in Initialization state.
@T_Y_Raju
Disadvantages:
- Overload: Combining the roles may increase the workload and responsibilities on a single individual, potentially leading to a loss of focus or an increased likelihood of errors.
- Bias and limited perspective: Having a separate dispatcher allows for an objective view of task allocation and resource management. Merging the roles may introduce biases or limited perspectives that can negatively impact decision-making.
- Lack of checks and balances: The separation of roles provides a system of checks and balances, ensuring that different perspectives are considered. Merging the roles may result in a loss of accountability and quality control.
If you see you have necessity then remove main file of dispatcher and call remaining processes in initialization sate
First Run condition then block.