Managing variable table definitions
The purpose of the following scenario is to show how to create a variable table definition in the context of an example.
FineBusiness is a new B2B company that sells mobile devices. The company is creating a team dedicated to solve any technical issue that clients might face. To automate the process, FineBusiness IT has asked Louis, who is an HCL Workload Automation user, to create a job stream that forwards customer requests to the technical team e-mail. Louis has already created a job stream named customer_requests. Now, he has to create a variable table that sends e-mails to the technical team during working days, and add that variable table to the run cycle defined into customer_requests.
echo "This is message body" | mail -s "This is Subject" ${var.<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 Graphical Designer page, select the Assets tab.
- Click the add icon + and select Variable table
- In General information, type the name workingdays_requests.
- In Variables, click on the add symbol (+).
- Type the name mail and the value technical_team@mail.com.
- Save.
- Edit the existing job stream
customer_requests:
- From the workspace area, select the customer_requests job stream and then click the Add trigger icon.
- Click Add new, and then select Run cycle.
- In General information, type the name working_days.
- In Variable table, search for and select the workingdays_requests variable table.
- In Rule, from the Type drop-down menu, select Calendar.
- Save.
You created a variable table to send the requests of the customers to the technical team during working days.