Lutuf Ali Shah1
Tera Expert

I had a requirement to create an HTML Document template that will require a signature from the subject person, I was unable to understand the process for creating an HTML document and creating a task for input from the user.

Finally, I understood the flow for creating an HTML document and creating a task for user input (Signature).

At that time I had multiple questions in my mind described below and the solution is provided.

  1. How to Create an HTML Document Template?
  2. How to attach HTML Document Template to HR service?
  3. How to Initiate a task for HTML Document Template?

Creating an HTML document template was an easy part but the process to attach documents to the service was a little confusing, finally, I was able to do it. so I thought to share the solution.

 

Solution:

Here is a Step-by-Step solution to create an HTML Document Template to Attach it to the HR service and create a Task for the required signature. Please Download Docs File (HTML Document Template Process.docs) Attached and follow the steps to achieve your requirement. 

here is a result ðŸ˜Š (attachment:Finally.png)

find_real_file.png

Let me know if it was helpful for you by providing your feedback. 

Comments
Hasnain Khowaja
Mega Explorer

Thankyou Lutuf it helped me a lot .  

Lutuf Ali Shah1
Tera Expert
@Hasnain Khowaja  I'm pleased to know that.
Irene Barranco
Tera Contributor

Hi

 

When a document Template is created from an HR Case, the name of the person who created the form is added to the name of the attachment. Why? I see that maybe it indicates who should sign the document. Or it indicates who generated the document?

 

Thank you

Lutuf Ali Shah1
Tera Expert

In this case, the file name contains System Administrator, which is "Opened for" as well as "Opened by" of the case, I changed opened for the user to Abraham Lincoln. However, it still populates system admin, because opened by remained system admin.

 

Thanks! 

Riya Garg1
Tera Contributor

Hi All,

I followed-up the steps which is mentioned in word doc but HR Task is not getting generate. Can you please let me know, is there any mandatory step.

Lutuf Ali Shah1
Tera Expert

Hi @Riya Garg1,

I'm unable to determine the exact cause, I recommend checking the following fields in the HR service template, as they might be contributing to the issue.

  1. Automatically initiate document task: Confirm that the value for this field is set to "true" in the HR service template. This setting allows for the automatic initiation of document tasks associated with the HR service.
  2. Document template: Ensure that the correct document template name is specified in the corresponding field of the HR service template. Double-check the accuracy of the template name entered.

Additionally, it is essential to verify that the document template is published. Publishing the template makes it available for use and ensures that it can be triggered correctly.

By reviewing these fields and ensuring their accuracy, you may be able to resolve the issue of the document task not generating.
For testing, I made modifications to an existing test HR service by adding a new HTML document template. When I created a case, the document task was successfully generated.

Test.png

 

Riya Garg1
Tera Contributor

Thanks for your reply. I figured out now. My case was in Ready state, when i marked it "Work in Progress" then task is getting generate. 

 

Thanks You. It is really helpful.

Version history
Last update:
‎02-18-2022 04:25 AM
Updated by: