In the DataAssist Insert record behavior, the ID of the record that was just inserted is stored in a session variable. The name of this session variable is set on the first page of the Insert Record Wizard in the Store as column.
When the user registeres the participant, the participant ID will be stored in the session variable. you can use this in the registrant table to set the b-id column.