cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
965
Views
2
Helpful
1
Replies

Finesse 10.5 Workflow HTTP request Reasoncode

vincent.stng
Level 1
Level 1

I tied to set up a workflow to trigger agent to change state from ready to not ready with a reasoncode.

Using PUT method:

<User>

<state>NOT_READY</state>

<reasonCodeId>200</reasonCodeId>

</User>

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?

Thanks.

Vincent

1 Reply 1

dlender
Level 6
Level 6

The reasoncodeid and the actual reason code are different. Use the http://finesse1.xyz.com/finesse/api/ReasonCodes?category=NOT_READY API to get the reason code ID for use with the change User state API