Versions Compared

Key

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

...

There are several ways to upload (ingest) your data file into the region. We are going to cover two of them in this article.

Option 1: Using Run button.

  1. Click Run button in the ribbon.

...

You will be able to access this information later by running Monitoring Tool application. It can be launched from Solution ribbon in IWS.


Option 2. Using file name in the Run Task Request (RTR) message.

Option 1, described above is very useful for testing the workflow in development stages.

...

The default location for data files in this case is tpe/data/msgcenter/cmw/in ,

  1. To upload your data file into this folder you can use helper streamĀ eagle_ml-2-0_default_cm_data_load_cmw_in in Automation Center:

Image Modified



2. Now we need to tell Message Center to start processing this file.

You can use same send data feature, but now for theĀ eagle_ml-2-0_default_cm_control_message stream

Image Modified


The name of the file containing RTR message does not matter.

The content of the RTR message should look like

...

follows:

Code Block
languagexml
titleRTR message
<EagleML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RunTaskRequestSync" xmlns="http://www.eagleinvsys.com/2011/EagleML-2-0" eaglemlVersion="2-0" xsi:schemaLocation="http://www.eagleinvsys.com/2011/EagleML-2-0 eagleml-main-2-0.xsd" eaglemlType="RunTaskRequest">
  <header>
    <messageId>5EDA26591AB784</messageId>
    <sentBy>http://www.client.com/eagleadmin</sentBy>
    <sendTo>http://www.eagleinvsys.com/eagle_ml-2-0_default_cm_control_message</sendTo>
    <replyTo>http://www.client.com/Eagle Control Messages</replyTo>
    <creationTimestamp>2020-07-06T11:43:08-04:00</creationTimestamp>
  </header>
  <taskIdentifier>
    <correlationId correlationIdScheme="correlationIdScheme">5EDA26591AB784a</correlationId>
    <businessTaskId correlationIdScheme="businessTaskIdScheme">5EDA26591AB784a</businessTaskId>
  </taskIdentifier>
  <taskTypeEnum>NEW</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>testvendor_feed_1_raw_data</value>
    </taskParameter>
    <taskParameter>
      <name>WorkflowData</name>
      <dataType>S</dataType>
      <value>example_buildingtable.csv</value>
    </taskParameter>
  </taskParameters>
</EagleML>

The name of the data file should be specified in the WorkflowData element.

Warning
Please make sure that correlationId value is unique. Messages with correlation Ids which already exist in the system will be rejected


There are three values which you may need to adjust

  • correlationId. This should be a unique value for the region. Messages with duplicate correlation Ids will be rejected by the system.
  • workflowName. This value should reflect the workflow name. You can see it in the publish screen.
  • WorkflowData. This is the name of data file which you uploaded to cmw/in folder.