HRM Task Parent Widget Editing

Vinicius Luz1
Tera Expert

Hey guys,

Having such a hard time with this requirement... The HR Onboarding module has this widget "HRM Task Parent", I need to change thing in this button on the screen:

 

This is soo complicated cause there's one widget calling others and I couldnt find where to edit this button.

Any clue? tks in advance

1 ACCEPTED SOLUTION

HRM Task Activity widget will call another widget to display based on the task type.  HR Tasks are using the HRJ Task widget.  I would not recommend changing any of these widgets though. 

Instead, I would suggest adding additional information to the Mark When Complete task to guide the employees.  Since it's only for one specific HR Task, I would update the task template to include verbiage like "If you do not have any dependents, please select the "Complete" button".  This can be added to the HR Task's "Description" field in the template. Then it would appear on the screen for the user to see without any customizations.

If you wanted to add more guiding information on all Mark when Complete task types, again, you can create/update the sys_ui_message for this.  If the message with key value of "Click on the Complete button to mark task as complete" does not exist, create it and update the language and message accordingly. 

 

View solution in original post

9 REPLIES 9

Vinicius Luz1
Tera Expert

@michaelj.sheridan  youre the ServiceNow HRSD Jedi, can you help?

Hi @Vinicius Luz - Can you upload the image? We are unable to see specifically what you are referring to.

Regards,

Mike

Hi Michael, thanks for answering.

 

find_real_file.png

 

The image is attached and inserted in the message body, can you see it?

I have this Activity "Cadastro de Dependentes" which is tied with a HR Template... This HR Template has the HR Activity Type = "Mark When Completed" and this seems to generate automatically a button labeled "Complete" (mine is in portuguese, but anyways, same logic).

 

My point is... Have you ever edited this automatically generated button? I need to know which widget should I edit to be able to change this button behavior, label and other stuff.

It seems that this main "HRM Task Parent" widget is calling a lot of others and even following to each one of them, I still did not find this button to edit.

@Vinicius Luz That widget is a container for child widgets. If you want to modify the button, the best option is what @sbritt suggested. With that said, you would have to modify the specific Task widget that is called (i.e., HRJ Task Mark When Complete). Keep in mind, each of these have a function called out in the widget itself so if you are looking to modify the action on click, that may be more technical debt, hence why the suggestion from sbritt is a great option.

Regards,

Mike