DOCAPOSTECHECK Workflow Application
Overview
The DOCAPOSTECHECK workflow application lets you check the status of a transaction and download the associated files.
How it works
You can check the status of a transaction and download the file from Docaposte.
Application logs are available. These can be specified by setting the value of the
DocaposteCheckLogLevel
parameter in theweb.config
file to0
to disable logging,1
for error logs,2
for information logs, or3
for debug logs; The default value is0
.
Required parameter
Parameter
Type
Direction
Description
DOCAPOSTE_TRANSACTION_ID
TEXT
IN
ID of the transaction to check
Optional parameters
Docaposte configuration
Parameters
Type
Direction
Description
DOCAPOSTE_USERNAME
TEXT
IN
Docaposte username
By default, this value comes from the DocaposteUsername
parameter in the web.config
file.
DOCAPOSTE_PASSWORD
TEXT
IN
Docaposte password
By default, this value comes from the DocapostePassword
parameter in the web.config
file.
DOCAPOSTE_HOST_SERVER
TEXT
IN
Docaposte host server
By default, this value comes from the DocaposteHostServer
parameter in the web.config
file.
General
Parameters
Type
Direction
Description
DOCAPOSTE_DOCUMENT_NAMES
TEXT
IN
Name(s) of the document(s) sent for signature(s)
DOCAPOSTE_DOCUMENTx
FILE
OUT
Signed document(s), where x
is the document number
DOCAPOSTE_STATUS
TEXT
OUT
Transaction status
Example with DOCAPOSTESEND
In the following example, the DOCAPOSTESEND action is directly followed by the DOCAPOSTCHECK action. This action will loop back onto itself until the status is other than OPEN
.
If the returned status meets the condition, the document will be downloaded from Docaposte.
Avec la fonction d'action de boucle système, l'action DOCAPOSTECHECK sera exécutée toutes les x
secondes jusqu'à ce que la condition OUT soit remplie.