Hi
I am struggling to figure out where I am going wrong here.
I have data returning from a flow which I need to go in to a collection, the output from my flow and my formula is
Flow Output
{
"biorderdata": "{\"body\":[{\"Ordr Group Delivery Group\":\"780693/1\",\"Jobsite\":\"81651998\",\"Mat Code\":10119696,\"Del number\":314500464,\"Desp Plant\":\"I800\",\"Del Dat Start \":\"2022-12-12T00:00:00\",\"Del Date End\":\"2022-12-12T00:00:00\",\"Del Time Start\":\"2022-12-12T00:00:00\",\"Del Time End\":\"1899-12-30T15:00:00\"}]}"
}
Formula
ClearCollect(
ColSAp,
ForAll(
Table( ParseJSON(BILookup.Run(TextInput2).biorderdata).body),
{
Jobsite: Value(Value.Jobsite),
'Mat Code': Value(Value.'Mat Code'),
'Del number': Value(Value.'Del number'),
'Desp Plant': Text(Value.'Desp Plant'),
'Del Dat Start':DateValue(Value.'Del Dat Start'),
'Del Date End': DateValue(Value.'Del Date End'),
'Del Time Start': DateValue(Value.'Del Time Start'),
'Del Time End': DateValue(Value.'Del Time End')
}
)
)
Thanks in advance for anyone who can point me in the right direction