Hi all,
I have a flow and under a particular field its has multiple "value" values. See below. How would i only extract the second one every time?
So in this example i would want the value "00 111 222 333" and ignore the rest.
},
"customFields": [{
"id": 2,
"caption": "Client Type",
"type": "Text",
"entryMethod": "List",
"numberOfDecimals": 0,
"value": "Client A"
}, {
"id": 4,
"caption": "ABN",
"type": "Text",
"entryMethod": "EntryField",
"numberOfDecimals": 0,
"value": "00 111 222 333"
}, {
"id": 10,
"caption": "Client Success Manager",
"type": "Text",
"entryMethod": "List",
"numberOfDecimals": 0
}, {
"id": 14,
"caption": "Previous CSM",
"type": "Text",
"entryMethod": "List",
"numberOfDecimals": 0,
"value": "Joe Bloggs"
}, {
"id": 18,
"caption": "Auto-Pilot",
"type": "Text",
"entryMethod": "List",
"numberOfDecimals": 0
}
]
}, {
I was trying this but not getting anywhere
item()?['communicationItems'][0]['value']
skip(item()?['customFields'], 1)[0]['value']
item()?[1]['customFields/value']
Thanks,
David