What is the purpose of "sn_doc_task" table?

Shivam7
Tera Contributor

Lately, I came across this table while I was looking into a ootb script include, does anyone know the purpose of this table?

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi Shivam,

sn_doc_task represents Document tasks which can be generated either automatically or manually. The tasks get generated in the order defined for the participants.

  • This content applies only to the document templates that are created in the Document Templates application (sn_doc). Document Templates is different from HR Document Templates. For HR Document Templates, refer to HR document templates.

Automatically

Document tasks are automatically initiated for the participants when you:
  • Select the Automatically Initiate Document tasks option on the HR service of a case.
    Note: Make sure that the configured template is added to the HR template of a service.
  • Change the state of the HR case to Ready.

Enabling case option and selecting document template on HR service.

Manually

Document tasks are manually initiated when you click theInitiate document tasks button on the Preview Document option on the case.

Note: The Initiate document tasks option does not appear when the Automatically Initiate Document tasks option is already enabled on the HR service of a case.

Initiating document tasks

Refer here : https://docs.servicenow.com/bundle/sandiego-employee-service-management/page/product/human-resources...

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

View solution in original post

11 REPLIES 11

Community Alums
Not applicable

Hi Shivam,

sn_doc_task represents Document tasks which can be generated either automatically or manually. The tasks get generated in the order defined for the participants.

  • This content applies only to the document templates that are created in the Document Templates application (sn_doc). Document Templates is different from HR Document Templates. For HR Document Templates, refer to HR document templates.

Automatically

Document tasks are automatically initiated for the participants when you:
  • Select the Automatically Initiate Document tasks option on the HR service of a case.
    Note: Make sure that the configured template is added to the HR template of a service.
  • Change the state of the HR case to Ready.

Enabling case option and selecting document template on HR service.

Manually

Document tasks are manually initiated when you click theInitiate document tasks button on the Preview Document option on the case.

Note: The Initiate document tasks option does not appear when the Automatically Initiate Document tasks option is already enabled on the HR service of a case.

Initiating document tasks

Refer here : https://docs.servicenow.com/bundle/sandiego-employee-service-management/page/product/human-resources...

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Sort of confusing to me.
First is says that HR doc templates are diff, yet rest of the information seems to fully be about HR Doc