Follow this step-by-step example to configure the Calculated Field Transformation Agent in the XMPro Data Stream Designer.
Need help with creating your XMPRO Data Streams? Visit https://documentat... this example demonstrates how to use the
calculated field agent to add a
temperature conversion and an is hot
indicator to pump data
first drag the agent onto the canvas
link the input to pump data and output
to the printer
save the data stream
and click on the agent to configure it
add an expression
named temperature fahrenheit
its formula
and data type of double
apply
add another expression named is hot
its formula and data type string
apply
apply again
save the data stream
publish it and let's look at the live
data view
temperature fahrenheit and is hot have
been added to the pump data
you can download the file below to try
it out yourself and for more information
about this agent's properties head to
the configuration page thank you