So I am trying to check for array null values inside a loop but I don't really know the right format for that
Array example:
[
'value 1',
'value 2',
'',
'value 4',
]
this is the expression that I tried to write:
if(empty(outputs('splitTD')[variables('FirstRecord')]), replace(outputs('splitTD')[variables('FirstRecord')], '', 'Not specified' ), outputs('splitTD')[variables('FirstRecord')])
I have reproduced in my environment and got expected results as below:
Firstly, I have initialized array with your given input and then again initialized another empty array and then, I have used condition if(empty(item()),'No Element',item())
in for each loop and got results and followed below process:
The in compose variable as below:
Output:
Edit:
You need to on your concurrency as below for getting in Right Order: