Restricting the availability of workflow transitions