I tied to set up a workflow to trigger agent to change state from ready to not ready with a reasoncode.
Using PUT method:
Reason Code is defined according to team and find that finesse cannot detect the code:
<ErrorMessage>The Reason Code specified in the request does not exist</ErrorMessage>
Using firefox poster to GET status and found that the reasonCode is numbered according to the order in the reason code list.
Is it really how it behave?