Skip to content

Documents

Documents in Atfinity can also be matches. You can use the special Ontologies Document and Proof for that. In addition, there are also the roles Provided and Generated.

When matching documents (e.g. in a meta document), you can access information about the document you are matching. For example, if you say d is Document you can request informatin about the document you have just matched.

You can request these information:

PropertyDescription
PropertyDescription
d.keyThe key of the document, e.g. kyc_for_entity
d.__disabledWhether the document is disabled or not
d.__hiddenWhether the document is hidden or not
d.__before_tocWether the document appears before the table of contents or not
d.__to_be_signedWhether the document should be signed or not
d.__create_missing_valuesWhether the document creates missing values in the case or not
d.__document_typeThe type of the document, e.g. PDF or ADX
d.__instancesA list of the matched instances of the document
d.__instances_by_keyA dictionary of matched instances of the document. The keys is the name of the match, e.g. "p" and the value is the instance or a list of instances