• b) based on a certain value in a database table?

    I think this is possible.

    1) Using execute SQL task select the value from the data base.

    2) Use the value in the precedence constraint expression to check whether it is true or not.

    3) Use loop to check the value.