Question

Accessing entity properties using javascript in a workflow.

  • 9 May 2023
  • 1 reply
  • 77 views

Userlevel 5
Badge +16

I am trying to create a JSON payload to submit to qoperation the problem I seem to be running into is that I can’t access the properties of the cliententity object.

I tried to see what would happen if i did something like 

 

logger.info(servers[0].clientName)

and the output I get is null.

This is what the script looks like:

 

This is what the for loop looks like:

 

This is the output: 

 

Clearly I am doing something wrong.

I posted this in the private area in hope it would get more traction.

Thanks.


1 reply

Userlevel 1
Badge +4

Hi @christopherlecky , I am not able to see the images you attached, can you please attach once again?

Reply