Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

ECC QUEUE Stuck in ready state

Praful_1968
Tera Contributor

I am trying to create Output ECC Queue to execute the Keeper(A thrid party password manager platform) specific command in MID Server. But the Output ecc_queue Status gets stuck in "ready", it doesn't change. Also, It doesn't throw any error. Kindly assist me on the same. Any lead will be of great help.

 

Here is a background script i'm executing to create ecc queue:

 

var name = "Test";
var server = "keeper";
var command = 'keeper --config=C:\Users\org\.keeper\config.json record-add --title="Sample Login" --record-type login --folder lyyRsA_WaGYJNqfvzFc';

var ecc_queue = new GlideRecord("ecc_queue");

ecc_queue.initialize();

ecc_queue.agent = "mid.server." + server;
ecc_queue.name = name;
ecc_queue.queue = "output"; // Change to "input" instead of "output"
ecc_queue.topic = "Command";
ecc_queue.payload = '<?xml version="1.0" encoding="UTF-8"?><parameters><parameter> name="name" value="' + command + '"</parameter></parameters>';

// Get SysID of new ECC Queue record
var ecc_sysid = ecc_queue.insert();

// Set Response to current record sys_id
ecc_queue.response_to = ecc_sysid;

// Update new ECC Queue record
ecc_queue.update();
1 REPLY 1

H S B
Giga Guru

Although I am not an expert at this however I would suggest to go through below article & see if all the relavent Business Rules are active or not which are mentioned in the article -


https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0718589

Do click that HELPFUL button / CORRECT button if it helps.