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

Version 1 Next »

In this page:

By default, I2I adds Environment name in sentBy field in the header of the extract file like this:

<sentBy>http://www.eagleinvsys.com/QA15R2LN</sentBy>

But if for some reason this behavior does not suit you, the Environment name displayed can be either changed or removed from extract completely.

UseSentBy Parameter

When set to N, it disables the logic which adds Environment name in sentBy field in the header of the extract file
Valid values: Y/N

<taskParameter>
   <name>UseSentBy</name>
   <dataType>S</dataType>
   <value>N</value>
</taskParameter>

HubSentBy Parameter

Determines the custom Environment name after the http://www.eagleinvsys.com/ prefix. For example,

<taskParameter>
   <name>HubSentBy</name>
   <dataType>S</dataType>
   <value>MYVALUE</value>
</taskParameter>

constructs the following sentBy element in extract:

<sentBy>http://www.eagleinvsys.com/MYVALUE</sentBy>

Use Cases

Retrieve the data from the DB

Enable the UseSentBy parameter with a value of Y

<taskParameter>
   <name>UseSentBy</name>
   <dataType>S</dataType>
   <value>Y</value>
</taskParameter>

Specify the value to be returned (Pass through)

Enable the UseSentBy parameter with a value of Y

Send the desired value in the HubSentBy parameter

<taskParameter>
   <name>HubSentBy</name>
   <dataType>S</dataType>
   <value>MYVALUE</value>
</taskParameter>
<taskParameter>
   <name>UseSentBy</name>
   <dataType>S</dataType>
   <value>Y</value>
</taskParameter>

Specify a value in the w_config_custom.inc as the EnvironmentName variable

Modify the w_config_custom.inc setting the EnvironmentName with a defined value

<COL TAG="EnvironmentName" EXPRESSION="'MYENVVALUE'"/>

Enable the UseSentBy parameter with a value of Y

<taskParameter>
   <name>UseSentBy</name>
   <dataType>S</dataType>
   <value>Y</value>
</taskParameter>


Once applied, Option 1 will no longer be available as the EnvironmentName specified will always be returned

Sample:

<COL TAG="EnvironmentName" EXPRESSION="'MYENVVALUE Test from w_config_custom.inc'"/> in RTR, UseSentBy = Y

Once executed appearing in the output

<sentBy>http://www.eagleinvsys.com/MYENVVALUE Test from w_config_custom.inc</sentBy>

  • No labels