Returns the assignment state to the specified workplace.
1 workplace object
the workplace.
1 number
the state. Refer to developer.ASSIGNMENT_STATE.