Hi All,
I’m just exploring a possible method of combining several flows into a single flow and wanted to see if something was possible.
I have a NetSuite saved search returning a string that looks like the example below. The data is looking at inventory quantities for child items across different locations;
“NL 0,NL 76,Re 23,Re 27,Re 34,Re 36,Re 38,Re 54,Re 57,Re 59,Re 86,UK 0,UK 28,UK 3,UK 6”
Is there a way I could take that data in a transformation stage, using handlebars and return the sum of all quantities beginning NL, all beginning RE and all beginning UK?
So if the example was;
“NL 2,NL 4,Re 3,Re 3,Re 1,UK 0,UK 1,UK 2,UK 6”
I would want to end up with 3 separate outputs;
NL = 6
RE = 7
UK = 9
The number of values returned in the original string is variable depending on how many child items there are for each parent.
Is this possible? Many thanks in advance!
