Adding an approval for HR case management setup without tasks

KB15
Giga Guru

We have HR case management setup in our organization. Someone has asked if an approval can be added to a record producer form from the HR service portal.

I don't think we're task based so, would it be difficult to add an approval process to specific record producers? Would it just be a matter of adding a workflow to any given record producer? How would the case lifecycle look?

1 ACCEPTED SOLUTION

KB15
Giga Guru

Per ServiceNow, the workflow that checks for approvals was skipping over the evaluation.

In the HR Service Activities workflow under "Is there an approval step" stage, the second if statement was missing some additional conditions:

While the version I had only contained:

if (serviceTemplates.next()}
return 'yes';

It should have been:

		if (serviceTemplates.next()) {
			workflow.scratchpad.serviceActivity = serviceTemplates.getUniqueValue();
			return 'yes';

I don't believe this was modified by anyone and may have been a bug but this is what ServiceNow had modified to make it work.

View solution in original post

8 REPLIES 8

I'm not exactly sure what you're asking however the manager is listed in the HR profile.

Vinay Mishra3
Mega Guru

That is correct place to add the approver, Please make sure manager is not missing in subject person user profile.

I've verified that the manager is listed.

KB15
Giga Guru

Per ServiceNow, the workflow that checks for approvals was skipping over the evaluation.

In the HR Service Activities workflow under "Is there an approval step" stage, the second if statement was missing some additional conditions:

While the version I had only contained:

if (serviceTemplates.next()}
return 'yes';

It should have been:

		if (serviceTemplates.next()) {
			workflow.scratchpad.serviceActivity = serviceTemplates.getUniqueValue();
			return 'yes';

I don't believe this was modified by anyone and may have been a bug but this is what ServiceNow had modified to make it work.