Managing a variable table definition from the Dynamic Workload Console
This topic shows how to manage a variable table.
The purpose of the following scenario is to show how to create a variable table definition in the context of an example.
The scope of the scenario is to create a variable table to send an e-mail to the technical team during working days and add that variable table to a run cycle into an existing job stream.
The existing job stream customer_requests contains a job definition of
unix type. The job definition contains the following
command:
echo "This is message body" | mail -s "This is Subject" ^mail^
To
create a variable table to send the customer e-mails to the technical team, proceed as follows:- Create a variable table:
- From the From the Design menu, click Workload Designer page, and then select the engine.
- In Explore area, click Create new + and choose Variable table.
- In General Info, type the name workingdays_requests.
- In Variables, click on the add symbol (+).
- Type the name mail and the value technical_team@mail.com.
- Save.
- Open the existing job stream customer_requests in edit mode:
- In the Run cycles section, add a new run cycle.
- In General Info, type the name working_days.
- In Variable table, search for and select the workingdays_requests variable table.
- In Rule, complete the field as follows:
- In Repeat Schedule, select weekly.
- In Run every selected number of weeks, type 1.
- In On the following day type, select from Monday to Friday.
- Save.
You created a variable table to send the requests of the customers to the technical team during working days.