Skip to main content
Question

Accessing entity properties using javascript in a workflow.

  • 9 May 2023
  • 1 reply
  • 83 views

christopherlecky
Byte
Forum|alt.badge.img+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

Forum|alt.badge.img+4
  • Vaulter
  • 12 replies
  • May 18, 2023

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings