Can SEQUENCEFLOW_TAKEN event add source activityInstanceId and target activityInstanceId

Is SEQUENCEFLOW_TAKEN event can add source activityInstaceId(Table ACT_HI_ACTINST’s ID_ column value) and target activityInstanceId(Table ACT_RU_ACTINST’s ID_ column value) so i can use listener to record activity links.Current ACT_HI_ACTINST struct only allow to list history activities by time.