You are viewing limited content. For full access, please sign in.

Question

Question

What does this POST response mean when I kickoff a Workflow through a SOAP web service call?

asked on March 9, 2016

We have a 3rd party application that is kicking off Laserfiche Workflow through a JSON formatted web service call. The Workflow kicks off great, but we are receiving some variation of this response each time. The only thing different is the instanceId each time.

Should we get something back that doesn't say "fault"?

POST Response: {"fault":{"Status":0,"Detail":null,"DetailCode":0},"instanceId":"e5427009-fd7c-433d-b427-84828db8fa1a"}

POST Status: OK

0 0

Answer

SELECTED ANSWER
replied on March 9, 2016

Status = 0 means it succeeded. The other possibilities are as follows:

        public const int LaserficheError = 3;
        public const int NetworkError = 4;
        public const int PreconditionFailed = 1;
        public const int SuccessCode = 0;
        public const int UnknownError = 100;
        public const int WorkflowError = 2;

 

1 0

Replies

replied on March 11, 2016

Thanks Miruna. So it will always say Fault?

Are there DetailCodes documented somewhere as well for future reference?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.