Scancode Signature
This outbound task attachment contains the reference scancode which is related to the location where the task is performed.
The extra field of the task must contain a new attribute "signatureRefBarcode" in order to allow the scan signature for that particular task. This attribute will contain the reference barcode. Other two attributes can be present in the extra field: "signatureBarcodeLocation" will contain the specific location where the mobile worker will find the barcode to scan, "newRefBarcodeRequired" will indicate whether the mobile worker can override the two previous fields or not. In case of "newRefBarcodeRequired" being false, the obtained scan code must be compared with the one defined in the "signatureRefBarcode" field. Only if they match, the mobile worker will be able to process the signature by scanning the location scancode.
Attribute | Description | Optional | Example |
---|---|---|---|
attachmentType | The type of this attachment. Needs to be 1, which means text | no | 1 |
subType | The sub-type of this attachment, being scanCodeSignature | no | scanCodeSignature |
content | the obtained scan code | no | 300ED89F33500060002B6D3F |
reference | the scan location | yes | Building A, First Floor, Room 3 |
format | the value of the newRefBarcodeRequired flag (boolean) | yes | false |