Checklist cannot be displayed in HR Task

honamiUeo
Tera Contributor

I am using this article to create an HR Task Template for Checklist and creating an HR Service where the Fulfillment Type is Service Activity.

https://www.servicenow.com/community/hrsd-forum/checklist-for-hr-task/m-p/1286127#M1447

https://docs.servicenow.com/ja-JP/bundle/vancouver-employee-service-management/page/product/human-re...

 

However, the task generated from it does not show the checklist.

honamiUeo_0-1698304732100.png

By the way, this HR Task is generated through Flow Designer.


Can someone please help me with this?

2 ACCEPTED SOLUTIONS

@honamiUeo Unfortunately, this function is only allowed in Global scope either you need to create your flow in Global Scope or create a Script include in Global scope put the logic in there and call that script include in your custom action in flow.

View solution in original post

16 REPLIES 16

@Aniket Bhanse 

Thank you for the detailed information with pictures!
However, what I wanted to do was not realized.
Apparently, the template is not reflected in the tasks created in FlowDesigner.

Sandeep Rajput
Tera Patron
Tera Patron

@honamiUeo Do you have the HR Task type set to Checklist on HR task template and have you specified the checklist items which are going to be shown on the task?

 

Screenshot 2023-10-26 at 2.48.08 PM.png

 

 

@Sandeep Rajput 

Thank you for your response.
Yes, we are in the process of setting that up.
However, I have checked and it seems that the template is not reflected in the tasks created in FlowDesigner.

You need to use applyTemplate(); function in your flow script to apply a specific template on the created created via flow. For more information please refer to https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0727178.

honamiUeo
Tera Contributor

From my research, it seems that tasks created in FlowDesigner do not reflect the HR template.
(Please let me know if there is a difference in perception)