Let's go back to Main workflow and invoke the InitAllApplication that we just created:
- In the Main.xaml file, we'll create a variable called Browser of type Browser (UiPath.Core.Browser) and set its scope to General Business Process. We will use this variable to pass the out_Browser argument in InitAllApplication.xaml.
- In the Main.xaml file, double-click on the Init state block. Go to the Invoke InitiAllApplications workflow, click on Import Arguments, and add the newly created Browser variable to store the value of the out_Browser argument:
That is all for the updates to the Init state for this project.
The next state in ReFramework is the GetTransactionData state. This state processes the items in the Orchestrator queue one by one. You can also get the automation to process data from spreadsheets, databases, emails, or Web APIs. Since we have added our PO entries to the Orchestrator queue itself, we can skip any changes to GetTransactionData.
The next step is to process the transactions within the Process Transaction state.