Check if any Source Region has Decision

Description

Returns true if any of the decision's source regions have their 'Waiting For Decision' flag cleared, while the 'Head Item Valid' flag is set.

Parameters

This function block has the following parameter:

Parameter

Description

Combine with

Used when combining multiple expression blocks. Defines the Boolean operation to be performed with each expression block.

Check if any Source Region has Decision Pseudo Code

  For All Source Regions of Possible Decisions

    If 'Head Item valid' Flag is set And 'Waiting For Decision' Flag is not set

      Return TRUE

    End If

  Next

  Return FALSE

 Note: This function block should be used before 'Eliminate Decisions Based on Region Status' function block to operate properly.

More information

Eliminate Decisions Based on Region Status.

Set Source Region as Decision Made.

Conditional function block list.