Capacity in use - recalculation for agents using advanced work assignment not working

Edxavier Robert
Mega Sage

Hi, I am currently in the implementation of the Advanced  Work Assignment for the sc_task, but the Capacity in use is not refreshing the counting after tasks are closed causing that Tech don't receive a new task. 

Table: awa_agent_presence_capacity_list

Field: ac_workload

find_real_file.png

There's a Client Script (OOB) that run

function onChange(control, oldValue, newValue, isLoading, isTemplate) {
	if (newValue < 0)
		g_form.showErrorBox('max_capacity', getMessage('Capacity must be greater than or equal to 0'));
}

find_real_file.png

1 ACCEPTED SOLUTION

Edxavier Robert
Mega Sage

Hi @Sherman Ignacio

 

Yes, I find the root of cause of the issue. There is a scheduled job called "Re-register AWA Record Watcher" which automatically re-create missing record watcher responders. It is active OOB and in my case it was set to false. 

Make sure is set to true. 

find_real_file.png

 

Let me know if this works for you. 

 

Regards, 

 

Edxavier Roberto

View solution in original post

15 REPLIES 15

Hello,

What was the condition ?

thanx in advance

karan21
Kilo Contributor

This is a known error with ServiceNow.
If you are using 'Add Or Condition' in Service Channel anywhere, it would not free up the capacity.

We re-configured our service channels to not have 'Add or Condition'

PS: you can have regular 'Or' condition.

They did create a Problem ticket for this but no updates yet 😕
PRB1497434

Joel A_1
Giga Expert

On my end the job is active and we do not have 'Add or Condition' in use but with some agents we also have this issue. Any ideas?

Can you share more about the use case, in what situations does the agent capacity not reset?

Hi kgag,

Out of about 50 agents working at the same time, only 2-3 agents have this at a time. But I have no idea exactly in which use case. At first I suspected this for agents who had time outs or rejected Work Items. However, the problem also exists with agents who have never worked with AWA before or are new and therefore have never had a time out or rejected a case. Unfortunately, it is really completely unclear to me why.