Why is my document generating blank code?
Odette Chan
Athennian DocAuto Team
- Edited
You’ve coded a template (🎉 ). You’ve uploaded it successfully. Your entity is active and your task document is selected. The spinning circle has stopped and you see the glorious green checkmark ✅ . But… when you go to review the document, there are blanks!
-
Is the right data in this record? A database is only as good as the data entered into it, so if data is missing, even the most experienced coder couldn’t make a document magically populate 🪄
-
Does the task require some more information that wasn’t included? Often, tasks require more specific data to be included, such as selecting share transactions or certificates, and principals; or filling in blank fields in the task such as the resolution date or fiscal year.
-
Have the statuses been set correctly? Sometimes if a document is coded for principals or addresses of a specific status (for example, incoming or outgoing), but the data in the record hasn’t been updated to that status accordingly, the selected data might not show up in the document.
-
Is the document coded according to the same document generation path you’re using? If a document was coded using the variables available in the Share Transactions task, but it is a register that needs to be generated through the Registers/Ledgers button, there may be discrepancies in what variables can be generated in each path.
- Is there an out-of-collection logic statement used within a collection loop? For example, when coding a Director Consent, you may find you need to refer to a specific jurisdictional legislation. The most intuitive way to do this is to use {#entity_jurisdiction} logic to determine the name of that legislation. However, one limitation of Athennian coding at the moment is that when using one collection (in this case, {#directors}), it’s not possible to code a logic statement that uses a variable that doesn’t exist within that same collection (in this case, {entity_jurisdiction} is not a variable that is contained within the {#directors} collection). To do this, check out this post on variable assignments.
Comments
0 comments
Please sign in to leave a comment.