Reusing a workload in another environment
You can use workload application template to utilize workloads that have been used in other environments. For example, when necessary, it is possible to import a workload application template in a different environment.
About this task
The purpose of this task is to export a workload from an environment and import into another environment.
The scope of the scenario is to export the workload for managing the payroll in a company from the test environment and import it in the production environment with a Workstation in production called MAIN_WKS, replacing existing job streams. The job stream named PAYROLL_PROC_21, that monthly creates and uploads payrolls for the year 2021 and the event rule PAYROLL_21, that monthly send a notification to your employees will be exported in a template called PAYROLL.WAT and imported in the production environment.
Procedure
-
Export the existing job stream by creating a workload application template
- From the Design menu, click Workload Designer page and then select the engine.
- In Explore area, click Create new + and select workload application template.
- In General info, type the name PAYROLL
- From the Details view, add the job stream PAYROLL_PROC_21 by clicking the plus button near Job stream.
- Save the template, and then click on the export button on the workload application template row to export it.
-
Import the workload application
template in the production environment.
- From the Design menu, click Workload Designer page, click Import, and select Import workload application.
- Define the engine and upload the exported template.
- In Jobs, map the jobs of the workload application template and in Job Streams map PAYROLL_PROC_21 as target job stream.
- In Workstation, select the MAIN_WKS workstation in the Target field .
- In Event Rules map the event rule PAYROLL_21 as a target event rule.
- Click Import.