Configurations for DemoWorkflow Process

The DemoWorkflow process contains the following activities.

Activity Description
Timer Starts the process when the specified time interval expires.
RemoveExistingFiles Deletes the customers.csv file from the user\hdfs\bwdemo directory in HDFS.
CopyDataToHDFS Copies the customers.csv file from the TIBCO_HOME\bw\palettes\bigdata\6.0\Samples\samples.zip\SampleData directory to the user\hdfs\bwdemo directory in HDFS.
CreateHiveTableRefertToData Creates an external Hive Table named customers in HDFS.
CheckError Performs the subprocess.

If no error occurs during the ErrorHandler process works, the process goes to the HiveQuery activity.

If any error occurs, the process goes to the Generate Error activity.

HiveQuery Queries 100 records from the customers.csv Hive table created by the CreateHiveTableRefertToData activity.
Generate Error Generates error messages from the Output tab of the ErrorHandler subprocess.
Catch Catches error messages and displays in the Output tab when any error occurs in the DemoWorkflow process.
End Ends the process.