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

Aman Kumar S
Kilo Patron

Hi,

Follow below articles to gain better understanding how Document tasks are generated and how to work on it:

Document tasks generation in Document Templates

Work on a document task

Best Regards
Aman Kumar

@Shivam 

Whatever I have shared, the answer that you have marked as correct is just copied and pasted version of what I have shared.

Is there a reason why you have not marked my response as correct, even though my response was the same and before as well.

Best Regards
Aman Kumar

@Shivam 

Again, you did this?

What's the reason around this, Do you mind sharing?

 

Best Regards
Aman Kumar

Community Alums
Not applicable

I think what happened was we both answered the same thing at the same time, yours got posted first and then mine.

So @Aman Kumar , you cannot force someone to do things here !! You have all the right to Let the Author know if they have made a mistake, but not really forcing Him/Her for marking it correct.