Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To send hashsum for archive only, just need to set archive name in WorkflowData task parameter and set filesHashSum task parameter with hashsum value of archive. Send :

Code Block
languagexml
<taskParameter>
   <name>filesHashSum</name>
   <dataType>S</dataType>
   <value>7ea0d2419acb225cc53c4cb7468653ae183b57f07558e1200f18b71e219bee73</value>
</taskParameter>

Send the RTR to eagle_ml-2-0_default_cm_control_message stream and wait while the workflow is finished. 

...

To check hashsums for the archive and its files, set filesHashSum task parameter with archive and files names and its hashsum values separated by commas:
archive_or_file_name1,hashsum1,archive_or_file_name2,hashsum2,…

Code Block
languagexml
<taskParameter>
   <name>filesHashSum</name>
   <dataType>S</dataType>
   <value>EAGLE_ML_DT040817_CSV.zip,7ea0d2419acb225cc53c4cb7468653ae183b57f07558e1200f18b71e219bee73,DT040817_GENERICSMF_.xml,3711b35c45faa6b348a44441253d244e17f2ac84ee932975899dd36e0997022a,EAGLE_CSV_GENERICSMFCSV_.csv,71656e6dac5cf1b9dd303b72efb401e21a8deacb69d89583b9d59cfd2808ec2e</value>
</taskParameter>

Send the RTR to eagle_ml-2-0_default_cm_control_message stream and wait while the workflow is finished. 

...

To send hashsum for files in archive only, set filesHashSum task parameter with files names and its hashsum values separated by comma:
file_name1,hashsum1,file_name2,hashsum2,…

Code Block
languagexml
<taskParameter>
   <name>filesHashSum</name>
   <dataType>S</dataType>
   <value>DT040817_GENERICSMF_.xml,3711b35c45faa6b348a44441253d244e17f2ac84ee932975899dd36e0997022a,EAGLE_CSV_GENERICSMFCSV_.csv,71656e6dac5cf1b9dd303b72efb401e21a8deacb69d89583b9d59cfd2808ec2e</value>
</taskParameter>

Send the RTR to eagle_ml-2-0_default_cm_control_message stream and wait while the workflow is finished. 

...

Error occurs during files from archive hashsum calculation (custom workflow execution)

Send "cm_execute_wrf_custom_1_files_WRONG.xml" from attachments to eagle_ml-2-0_default_cm_control_message stream.
Wait while the workflow will be finished.
Error occurred Error occurrs during the first eagle_ml-2-0_default_cm_unpacker_exec stream processing in generic_load_unpacker step:

In case of custom workflow execution only unpacker step will be failed.
The error description check in Final Status tab for generic_load_unpacker step:

...

To view all statuses in final status set task parameter consolidatedTSR with value 1 in RTR.

Code Block
languagexml
<taskParameter>
	<name>filesHashSum</name>
	<dataType>S</dataType>
    <value>EAGLE_ML_DT040817_CSV.zip,7ea0d2419acb225cc53c4cb7468653ae183b57f07558e1200f18b71e219bee73,DT040817_GENERICSMF_.xml,3711b35c45faa6b348a44441253d244e17f2ac84ee932975899dd36e0997022a,EAGLE_CSV_GENERICSMFCSV_.csv,71656e6dac5cf1b9dd303b72efb401e21a8deacb69d89583b9d59cfd2808ec2e</value>
</taskParameter>
<taskParameter>
	<name>CreateConsolidatedTSR</name>
	<dataType>S</dataType>
	<value>1</value>
</taskParameter>


Expand
titleClick to expand the RTR example:


Code Block
languagexml
<EagleML xmlns="http://www.eagleinvsys.com/2011/EagleML-2-0"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RunTaskRequest" eaglemlVersion="2-0"  xsi:schemaLocation="http://www.eagleinvsys.com/2011/EagleML-2-0 eagleml-main-2-0.xsd" eaglemlType="RunTaskRequest">
<header>
	<messageId>TST_TSR_ACK_RENAME</messageId>
	<sentBy>http://www.eagleinvsys.com</sentBy>
	<sendTo>http://www.eagleinvsys.com/eagle_ml-2-0_default_cm_control_message</sendTo>
	<creationTimestamp/>
</header>
<taskIdentifier>
	<correlationId>cm_wrf_300817_43</correlationId>
	<businessTaskId>cm_wrf_300817_43</businessTaskId>
</taskIdentifier>
<taskTypeEnum>LOAD</taskTypeEnum>
<taskParameters>
	<taskParameter>
		<name>StreamName</name>
		<dataType>S</dataType>
		<value>eagle_ml-2-0_default_cm_execwkfl</value>
	</taskParameter>
	<taskParameter>
		<name>ActionType</name>
		<dataType>S</dataType>
		<value>EXECUTE</value>
	</taskParameter>
	<taskParameter>
		<name>WorkflowName</name>
		<dataType>S</dataType>
		<value>eagle_wrf_generic_load</value>
	</taskParameter>
	<taskParameter>
		<name>WorkflowData</name>
		<dataType>S</dataType>
		<value>EAGLE_ML_DT040817_CSV.zip</value>
	</taskParameter>
	<taskParameter>
		<name>DeliveryMethod</name>
		<dataType>S</dataType>
		<value>FILE</value>
	</taskParameter>
	<taskParameter>
		<name>filesHashSum</name>
		<dataType>S</dataType>
<value>EAGLE_ML_DT040817_CSV.zip,7ea0d2419acb225cc53c4cb7468653ae183b57f07558e1200f18b71e219bee73,DT040817_GENERICSMF_.xml,3711b35c45faa6b348a44441253d244e17f2ac84ee932975899dd36e0997022a,EAGLE_CSV_GENERICSMFCSV_.csv,71656e6dac5cf1b9dd303b72efb401e21a8deacb69d89583b9d59cfd2808ec2e</value>
	</taskParameter>
<taskParameter>
		<name>CreateConsolidatedTSR</name>
		<dataType>S</dataType>
		<value>1</value>
	</taskParameter>
</taskParameters>
</EagleML>


...