I’m using “For Each Row in Data Table” activity.
Inside that It opens an aplication and writes the values in the respective fields using “Type into” activity.
After that it sends a mail to the client with subject “Taskid + " has been created succesfully"”
" Data Table contains (TypeofIncident, Taskid, Status and TaskName).
Incident Type can be : Incident, Service Request, Complaint, Question, Security.
But On every execution of each row, It is sending mail with same task id . It supposed to be as per the input. but it is considering the last unread mail’s task id.
Into For Each Row in Data Table, verify if you set TaskID as current row instead fixed value, like currentRow(0) and verify if you datatable has right tasks id get from mail to isolate where the problem occur.
If problems continues, share some screenshoots for both flows to help figure out whats going on
Where do you assign Taskid variable? Sounds like you assigned outside of For Each Row in DataTable. You can change Subject to use row(“Taskid”).ToString + has been created… instead Taskid variable or validate the taskid variable assignment to ensure that for each row it is assign with new value