Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2021 07:37 AM
I tried that utility but am still getting all rows:
output variable name is latestActivity as array.object type
Raw input is array.object
{
"latestActivity": {
"Activity": [
{
"Activity": {
"ActivityLocation": {
"Address": {
"City": "BEVERLY",
"CountryCode": "US",
"PostalCode": "01915",
"StateProvinceCode": "MA"
},
"Code": "ML",
"Description": "Front Door"
},
"Date": "20201210",
"GMTDate": "2020-12-10",
"GMTOffset": "-05:00",
"GMTTime": "16:41:51",
"Status": {
"StatusCode": {
"Code": "FS"
},
"StatusType": {
"Code": "D",
"Description": "Delivered"
}
},
"Time": "114151"
}
},
{
"Activity": {
"ActivityLocation": {
"Address": {
"CountryCode": "US"
},
"Description": "Front Door"
},
"Date": "20201209",
"GMTDate": "2020-12-10",
"GMTOffset": "-05:00",
"GMTTime": "00:13:55",
"Status": {
"StatusCode": {
"Code": "MP"
},
"StatusType": {
"Code": "M",
"Description": "Shipper created a label, UPS has not received the package yet."
}
},
"Time": "191355"
}
}
]
}
}
Maybe I have the Output variable setup incorrectly? I am attaching a screenshot of the setup I have that is still outputing all the Activity elements, not just the first one.