I'm not getting this to work. Whats the deal?
Distinct(
ForAll(Split((ThisItem.SN_List_FFName),",").Value As varWO,
With({varWOForAll: cmp_SN_Text_Functions.WO_SearchBySN_Exact(varWO.Value).WorkOrderOB},
If(IsBlank(varWOForAll),"NoWO",varWOForAll))),
Value)
This results in a list ["1234-2","4321-2","2142-3"]
I want to make this into this:
[{WorkorderOB:"1234-2",WorkOrder:1234,LineNumber:2},
{WorkorderOB:"4321-2",WorkOrder:4321,LineNumber:2},
{WorkorderOB:"2142-3",WorkOrder:2142,LineNumber:3}]

Report
All responses (
Answers (