Any size limit of input ECC Queue?

Ankit Bansal
Kilo Contributor

We are fetching few details from Another REST API using JavaScriptProbe in ECC output key. Return data [json] is coming as part of input ECC queue. I can see json data is coming in input ECC queue xml under <output> tag.

Is there any size limit to this data? Or we can have any char size of this?

13 REPLIES 13

Hi Ankit,

In my previous scenarios system was able to store value in payload field even more than max length; so better not to rely on that. better way is to check whether the payload field contains the text or not; use below condition in business rule condition

current.payload == "<see_attachment/>

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thanks Ankur, can you please explain what and how do we check if Payload column is having string?

And also by default that column type is string so how can a file attached?

Hi Ankit,

So you can use business rule for this before insert with condition as

current.payload == "<see_attachment/>"

In script section you can query sys_attachment table with current record sys_id against table_sys_id and see the attachment content

That column is string, whenever system determines the payload content exceeds max length then it automatically places the content into a txt file using BR "AttachmentCreatorSensor" and adds this as an attachment to current record. you need not do anything for this.

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankit,

Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankit,

Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement. 

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader