When you add a new column to the asset select query, it is necessary to do some
additional steps in order to have the new column available in the system.
About this task
Once a new column, such as column_foo has been added, you need
to augment the data stream action that imports data into the staging table.
Procedure
To open Flow Designer, go to All > Flow Designer.
A new page opens.
Select Actions.
In the Search field, search for the term Get
Nozomi Assets.
Open the action and enter the Script Parser step.
Figure 1. Script Parser step
This is where the script that parses the response live.
Immediately after outputs.targetObject.custom_fields =
tmpArray; around line 180, add this code:
if (item.column_foo) {
outputs.targetObject.column_foo = item.column_foo;
}
Note:
Where column_foo is the name of the
new column. For each new column you will need to add similar code to that
shown above.