Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Press  - Show Inputs
  • In the list of Inputs (the top window) select This
  • The list of Attributes (the bottom window) will update to the list of attributes available from the stream you are building. The other input, in, will give you the list of attributes in the stream that is linked to this stream by the pipe in
  • Drag the attribute in_County from the list of input attributes into your attribute expression
  • You will see that this adds _out.in_County to the attribute expression
  • Complete the attribute expression with:
Code Block
 , 1, 3)
  • Your attribute expression should now say: substring(_out.in_County, 1, 3)
  • Press 

...

  • Add a new attribute called BillCategory
  • Leave the default settings
  • Start the Attribute Expression with:
Code Block
if (
  • Press  - Show Inputs
  • In the list of Inputs (the top window) select This
  • Drag the attribute BILLAMOUNT from the list of attributes into the attribute expression
  • This will add _out.BILLAMOUNT to your attribute expression
  • Complete the attribute expression with:
Code Block
> 10.0, "LARGE", "NORMAL")
  • Your attribute expression should now say: if (_out.BILLAMOUNT > 10.0, "LARGE", "NORMAL")
  • Press 

...

  • Add a new attribute called SpecialProcessing
  • Leave the default settings
  • Start the attribute expression with:
Code Block
if (
  • Press  - Show Inputs
  • In the list of Inputs (the top window) select This
  • Drag the attribute BillCategory from the list of attributes into the attribute expression
  • This will add _out.BillCategory to your attribute expression
  • Complete the attribute expression with:
Code Block
== "LARGE", "YES", "NO")
  • Your attribute expression should now say: if (_out.BillCategory == "LARGE", "YES", "NO")
  • Press 

...