HR task type Mark When Complete

VedaCH
Giga Contributor

Hi All,
In HR agent workspace under case, we will create a task with task type: Mark when complete and in portal assignee is able to see the mark complete button not the hr case opened by.
By OOB behavior case opened for can also view the mark complete button on the hr task

3 REPLIES 3

sandeepdutt
Tera Patron

Hi @VedaCH ,

OOTB the task is meant for Assigned to user , specially the button Mark as complete on portal widget checks for the assigned to user for making sure the control to complete this task is to them.

 

kasulavarshini
Tera Expert

Hi @VedaCH ,

 

According to ServiceNow documentation, Mark When Complete is a task type that allows an employee to complete an assigned task by clicking the Mark Complete button.

 

Expected behaviour:

  • The assigned employee can see the Mark Complete button.

  • The HR Case Opened For user should not automatically see the button just because they are the case subject.

Universal Task types 

sanjaygupta
Tera Guru
 

This is actually expected OOTB behaviour in ServiceNow. The Mark When Complete task type is designed to let the assigned employee complete the task, not automatically the person listed in the HR case's Opened For field.

As clarified in the community replies:

  • The Assigned to user can see the Mark Complete button.

  • The Opened For user does not get the button simply because they are the HR case subject.

  • The portal widget checks the assigned user before displaying the completion action.

If you want the Opened For user to complete the task as well, you would need to explore a customization of the portal widget or task access logic. Test this carefully to avoid allowing unauthorized users to complete HR tasks.

Reference:

 
Hope you find this helpful.