Skip to main content
Question

Looping back to Source Data after omitting a record

  • March 14, 2023
  • 1 reply
  • 10 views

Forum|alt.badge.img

I have got a school's spatial data (point data) with capacity information in the attribute table. I have set up the Transformers to allocate the students to particular schools. But after allocating, I need to go back to the school's data for the next student. But after looping back, the data should show 1 less number in the capacity (because that seat got allocated to the student).

 

I am stuck here on how to go back and start the process again with reduced capacity.

 

Datasets I am using

Schools Feature Service

Master Spreadsheet with Students Data

 

Thank you

1 reply

DanAtSafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 344 replies
  • March 14, 2023

Hi @pkulkarni​ You probably don't need to loop through the source data - FME already translates one feature at a time. Are you using a NeighborFinder? If so then you might have to switch the inputs to the Base and Candidate ports. Please attach here a screenshot or sample data if you can.