The DOCAPOSTECHECK workflow application lets you check the status of a transaction and download the associated files.
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 the web.config
file to 0
to disable logging, 1
for error logs, 2
for information logs, or 3
for debug logs; The default value is 0
.
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.
With the system loop action function, the DOCAPOSTECHECK action will be executed every x
seconds until the OUT condition is met.
Parameter
Type
Direction
Description
DOCAPOSTE_TRANSACTION_ID
TEXT
IN
ID of the transaction to check
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.
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