Hello
How do I get the last row in a collection?
when there is multiple in a collection.
To get the first I write this:
[Result.ftuEducationPlanResponse.FtuInSchoolEducationPlan.WishList.EducationWish.JSON:Array]
But what if i need the middel or last one?
JSON:Array[1] or JSON:Array[2] is not working.
In a BP expression you can't refer to a collection row using an index, you have to move to the row you want using a loop. Alternatively you could use a code stage so that you can manipulate the collection as a .Net datatable.