Versions Compared

Key

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

This page explains how to set the properties for stream item action rules.

Stream item action rules connect data records (items) in a stream with an action.

This property tab is not available from the repository. It opens from an action properties → Stream Item Action Rules section.

Also see stream item action - where the knuts and bolts of what the stream item action is set

Basic settings

stream item action type

Stop if true

Expression

Order

Currently in draft. Requires technical input from Eleanor and context input from Skevi.

This page is for application designers who need to configure when a specific operation will change data in the stream.

Action Concepts

A stream has a set of  Stream Item Actions (SIA). These represent the smallest, specific operation that can happen to the data in the stream.

You can configure one action to run on the data in different streams. This is because the action contains:

  • a list of stream item actions (SIA) from different streams. The action can potentially run any of these SIA.
  • with each SIA, is the rule that specifies the conditions for that SIA to be run.

To use a SIA in an action:

  1. Open the Action properties.
  2. In the toolbar of the Stream Item Action Rules section:
    • either click 
      Insert excerpt
      _add
      _add
      nopaneltrue
        to create a new SIA rule. 
    • or click 
      Insert excerpt
      _action_SIA
      _action_SIA
      nopaneltrue
       to open a repository list of streams.
      Expand the branch for the stream, then drag its SIA into the action properties → Stream Item Action Rules grid.
      Double-click on a SIA rule in the grid to open its properties. 

Properties

If you add or open a SIA rule, PhixFlow opens its properties tab. Use the following properties to configure the conditions or rules under which the SIA will run. 

This properties tab is not available from the repository. It only opens from the Action properties.

Insert excerpt
_standard_settings
_standard_settings
nopaneltrue

Basic Settings

FieldDescription
Stream Item ActionSelect from a drop down of all of them, or drag one in from the repository - easier to find SIAs for a specific stream

The name of the stream item action (SIA)

To add or change the name do one of the following:

  • select a SIA name from the drop-down list of all SIAs in the repository.
  • click 
    Insert excerpt
    _add
    _add
    nopaneltrue
     to create a new one; see Stream Item Actions (SIA)
  • click 
    Insert excerpt
    _action_SIA
    _action_SIA
    nopaneltrue
     to open the repository Streams branch to find a SIA and drag it in. This makes it 
    easier to find a SIA for a specific stream.
Stop if TrueIf the following expression is true, stop the SIA from running.??
Expression

Enter an expression.

Details??

Order

Specify the order in which this SIA is listed in the action properties → Stream Item Action Rules grid.

Order is important because, when evaluating the SIA rule expression, PhixFlow starts with the first SIA in the list. It will run the first SIA that it finds for which the expression evaluates to true. Subsequent SIA will not be evaluated or run.