Document References in Task Plan Templates
Document references in task plan templates allow documents to be associated with tasks or cases and made available to task owners. This capability supports adding, viewing, and managing documents within template items, ensuring task owners have access to the required files when working on assigned tasks or cases.
sn_task_plan.adminsn_task_plan.creator(draft templates only)sn_task_plan.writersn_task_plan.viewer(viewers can only view documents and cannot create, edit, or delete document references).
Document references are stored in the Task Plan Template Document(sn_task_plan_template_document) table and are available through form views and related lists, depending on the template state
and user permissions. ACLs ensure proper read and write control across forms and lists.
When a published task plan template is applied, the system automatically adds all the document references from the template items to the newly created tasks. These references are associated with the corresponding tasks, ensuring that access permissions and business logic operate as expected, and preventing regeneration of documents during template application. This capability allows task owners to easily access all the documents required to complete their assigned tasks.
- The Task Plan Template feature (
sn_task_plan_feature) stores feature definitions, such as Document Support and Task Dependency. - The Task Plan Template Item feature (
sn_task_plan_template_feature) links specific features to template items. - Document Reference Storage: The system uses the
sn_task_plan_template_documenttable to store document references. Visibility and edit rights depend on ACLs and template state (draft or published).
Key Benefits:
- The user interface provides a consistent experience for managing task plan features and their associated documents.
- Document handling is secure and aligned with template access controls, ensuring that only authorized users can view or modify attached files.
- The framework supports extensibility for cross‑product teams, enabling broader adoption and integration across different organization units.