Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Important

Make sure you published the solution before proceeding to the following steps.


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.

2. Select data file from a local folder by pressing ellipsis button (...) in the Run dialog

       3. Click Run button in the dialog.


4. View load details in the EJM Processes tab.

After you click Run button, a new tab "EJM Processes" will automatically appear. It will contain the processing details of the solution.

You may need to click "refresh" button to update the information during the execution.

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.

After your workflow was developed, tested and deployed to PROD region, the way you deliver data to your application will change.

It is expected that data files will be uploaded to the region automatically, and then the load gets triggered by sending a control message (a.k.a Run Task Request message) to Message Center.

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

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:



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


The content of the RTR message should look like this:

RTR 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.

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




  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.