Hi,
I've created a workflow which is cancelling a change request, as part of this process after successfully cancelling the change request I want to logout (deactivate) the login token.
The WebServices section for logoutUser states that the command does not return any properties as output.
My question is, if there is no output how do you know if the token was successfully logged out?
Thanks,
Clive
Well I just found out that the HTTP response code is what would let you know. If you get a 200 OK it means the token is now invalid (logged out), otherwise you will get an HTTP error response code (4XX or 5XX).
Another thing I found was that since the response of the above is empty in case of success, if you try it in our workflows using a Rest WS node, just uncheck the response type option and save. Othewise it fails as I guess it is trying to validate the response type but doesn't find any?