Handling Encodian Flow Action Operation Errors

Unfortunately (and hopefully not too often!) an error could at any time occur with an Encodian flow action. All Encodian flow actions return the following set of parameters which can be used to help manage error handling logic within your flow:

  • Filename - The filename of the document.
  • FileContent - The processed document content.
  • OperationId - The unique ID assigned to this operation.
  • HttpStatusCode - The HTTP Status code for the response.
  • HttpStatusMessage - The HTTP Status message for the response.
  • Errors - An array of error messages should an error occur.
  • Operation Status - Indicates whether the operation has been completed, has been queued or has failed.

The HttpStatusCode, HttpStatusMessage and Errors parameters will provide explicit details pertaining to the issue, however, the master indicator of the status of the operation is the Operation Status parameter.

The Encodian Operation Status parameter may contain any of the following strings indicating the status of an operation:

  • In Progress
  • Queued
  • Complete
  • Error

However, please note that Flow will only ever expose the following two status values to your Flow logic:

  • Complete
  • Error

To add error handling logic to your flow we suggest adding a condition which evaluates the result of the Operation Status parameter, for example:


Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk