when user approves it the PDF is not attaching to the HR case.

Teju Dhoran
Kilo Sage
Kilo Sage

Hello All,

We have a HR service on Workforce admin table and when we create a case Document task gets attached in which PDF document will get generated. When assigned user approves that doc then the generated PDF should get attached to the particular HR case.
The issue is when user approves it the PDF is not attaching to the HR case.
Does anyone have any solution on this?
Thank you!

5 REPLIES 5

Harsh_Deep
Giga Sage
Giga Sage

Hello @Teju Dhoran 

 

In the workflow use copy attachment, if it's not there then use script for coping the attachment on the HR case.

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

Ankur Bawiskar
Tera Patron
Tera Patron

@Teju Dhoran 

Did you check what's the OOB behavior?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

michaelj_sherid
ServiceNow Employee
ServiceNow Employee

@Teju Dhoran  can you detail a bit more what your process is? Typically a doc is filled, reviewed then attached so knowing your process will help us to give specific guidance.

 

Regards,

Mike

Hi @michaelj_sherid 

We have configured fillable document template and added participants to review document. 

https://docs.servicenow.com/bundle/utah-employee-service-management/page/product/human-resources/tas...

 

After record producer is submitted case is created and also it create a document task for review as per participant configuration.

https://docs.servicenow.com/bundle/utah-employee-service-management/page/product/human-resources/tas...

 

When we impersonate participant user and approve the document, doc task is closed approved. But Document is not generated and attached to Case automatically.

We have same setup for another HR Service and it is working as expected.

 

https://docs.servicenow.com/bundle/utah-employee-service-management/page/product/human-resources/tas...