Signature
The Signature task generates a protocol signature XML document from one or more documents and their associated metadata.
Configuration
| Field | Description |
|---|---|
| Source folder | Authorised location containing the documents to include. It can be set via a Sybot parameter. |
| Documents | Document names, separated by commas. |
| Output file | Name or authorised destination of the generated XML file. If omitted, the task's suggested name is used. |
| Metadata | JSON object containing the data required for the signature. |
Use workflow parameters to specify the folder and file when values depend on previous tasks. Do not include in the metadata information not required by the procedure.
Concise example:
{
"oggetto": "Trasmissione documentazione",
"mittente": "Ufficio Demo",
"destinatario": "Protocollo Demo"
}
The complete metadata structure must be agreed with the receiving protocol process. The task checks the validity of the generated document against the supported format.
Results
Upon completion, the following are available:
- the signature XML file;
- the generation date and timestamp;
- the validation outcome.
Link the produced file to a send, store, or transfer task only after a successful generation.
Verification
Test the configuration with synthetic documents and check that file names and metadata match what is expected by the recipient. In case of error, first check the JSON syntax and the presence of all indicated documents.