Weird behavior with custom Flow action

Ross Sonido
Tera Contributor

Hello everyone,

I encountered a weird behavior with my script step of a custom Flow action.

script 1.png

 

The inputs.service_plans is of type records.-custom table-.

The array of guids work fine with this snippet, however when there is only one record to get guid from, it returns empty.

Interestingly, the same code works fine on both scenarios in background script, so I suspect there is something funky with how the records.-custom table- input is being handled by FD.

 

The snippet below fixed my issue with a single record return, but I want to understand what happened. Any ideas?

script 2.png

0 REPLIES 0