Hey folks,
A little confused over this one. Imagine I have a load of locations and people and that people can belong to multiple locations. M:M
I’d have this set of tables in SQL server:
Person
PersonID
PersonName
Location
LocationID
LocationName
Location_Person_Link
LPID
LocationID
PersonID
Now, in bonita, I can have a process for somebody to add ‘PersonName’ to a form and to select a/list of locations that the person belongs to. The next step could be a connector to save person to the database. SQL sever would then make a new rown with the next id/auto id: PersonID.
How do I get this back from the insert connector? The next step would then be to insert into Location_Person_Link usoing that ID…
Many thanks,
Jim