While saving editable grid one record is saving remaining records is storing null

I have ProjectTeam  CDT for this i have created editable grid to submit list of records 

1.Interface configuration 

2.Procees start form configuration

3.variable configuration

4.debugging form submitting two records in editable grid

5.Process history 

6.after completing process only one record saving one record is null as shown in screeshot

7.ProjectTeam CDT

addRowlink: a!dynamicLink(
label: "Add Employee",
/*
* For your use case, set the value to a blank instance of your CDT using
* the type constructor, e.g. type!Employee(). Only specify the field
* if you want to give it a default value e.g. startDate: today()+1.
*/
value: {
'type!{urn:com:appian:types:DSR}DSR_ProjectTeam'()
}

,
saveInto: {
a!save( local!projectteam, append(local!projectteam, save!value)),
 a!save(ri!DSR_ProjectTeam, append(local!projectteam, save!value))
}
),

any suggestions on this Please let me know any changes required

Thanks

  Discussion posts and replies are publicly visible