Scripting doubt: data.get(xx)

Luiz Lucena
Mega Sage

Hello friends, 

I'm still crawling in JavaScript, JSON, etc...

When working on a workflow, I saw this:

var vResult = data.get(18).result;
var vErrorMessage = data.get(18).message;
current.work_notes = "Mule REST Service Faile. ERROR: " + vErrorMessage;

 

My doubt is, where that number comes from?

If I need to change anything on the workflow, would affect that?
That workflow calls an Activity that integrates with Mulesoft to assing Oracle Responsibility.

Thanks in advance, 

 

1 ACCEPTED SOLUTION
1 REPLY 1

Luiz Lucena
Mega Sage

Had posted this doubt in another question:

Here is the answer for it.

https://community.servicenow.com/community?id=community_question&sys_id=e84a47a9db5cdbc01dcaf3231f96...