The problem here was that the owner instead of the workob was being used to find the effect of the action constraint.