Document templates: Unable to fill PDF Document

Marek Remi_
Tera Expert

Hello everyone,

I have a requirement to prepare the following scenario:

When an HR case is created and its state is changed to "Ready to Work," three document tasks should be created in the following order:

  1. The assigned user has a document task to fill out a PDF document with data.
  2. The subject person then fills out the PDF document with updated data.
  3. Finally, the assigned user reviews the PDF.

For testing purposes, I used a Non-Disclosure Agreement, which is an out-of-the-box (OOTB) editable PDF, as my PDF document in the document template.
Part of PDF:

MarekRemi__0-1728462750773.png

 

I followed this link: ServiceNow Documentation and created the document template in the correct scope, Document Templates application (sn_doc).

I then added participants, as mentioned, with actions: fill, fill, review.

 

Document template record in Document Templates app with participants set:

 

MarekRemi__6-1728463445897.png

 

 

 

Next, I created an HR case template that references the document template:

MarekRemi__5-1728463363330.png

 

 

I also created an HR service that references the HR case template and added Automatically Initiate Document Task option

MarekRemi__4-1728463253457.png

 

Now everything looks fine. When the case is created and the state is changed to "Ready to Work," the document task for the assigned user to fill out the PDF is created.

MarekRemi__7-1728463521351.png


There is a "Fill Document" UI action on the document task record that opens the viewer, but I cannot edit anything there. It should be possible, as indicated in the link I provided earlier.

MarekRemi__8-1728463550562.png

 

MarekRemi__9-1728463566926.png

 



The same problem occurs in the Employee Center. The assigned user can open the PDF task for themselves, but the fields are not editable; they cannot write anything into the PDF.

MarekRemi__10-1728463614065.png

 

 

I have already spent a lot of time trying to figure this out. This is not an HR document template; it is a document template, and it should be possible to allow users to type directly into the PDF in ServiceNow.

Any ideas on what might be wrong here? Thanks in advance!