...
- To update the name of the pipe from the
CustomerCareUpdates
stream to theCombined Updates
stream:- In the model, click on the pipe to open its settings tab.
- Set Name to
CC
. - Click
to save and close the pipe settings.Insert excerpt _finish _finish nopanel true
- Update the name of the pipe from the
ShopUpdates
file collector to theShopUpdates
stream.- In the model, click on the pipe to open its settings tab.
- Set Name to shop
- Click
to save and close pipe settings.Insert excerpt _finish _finish nopanel true
- Double-click the stream
Combined Updates
to open its settings tab. - In the Attributes section, click
?? check addInsert excerpt _add_object _add_object
add a new attribute and set:nopanel true - Name:
Source
. Expression:
Code Block if (_pipeName == "CC", "Customer Care" , "Shop" )
- Click
to save and close the attribute settings.Insert excerpt _finish _finish nopanel true
- Name:
- To make
Source
the first attribute in the stream, drag it to the top of the attributes list. - Click
to save and close the stream settings.Insert excerpt _finish _finish nopanel true - Run analysis on
Combined Updates
. - Check the output data set and make sure that the source has been recorded on each record correctly.