workspaces_modify_workspace_state function

Sets the state of the specified WorkSpace