Unnecessary ajax requests for workflowstates

Bug: 60950
Change-Id: I097414eb678b01efc0dc2227ba52437a50d7236a
Merge "Unnecessary ajax requests for workflowstates"