Use TmpObj to set effective_state attribute on compute (OMS-497)