Hi,
Using SharePoint 2013, on a browser enabled form that submits to a form library, I have a repeating table with three fields called System, Access Level and Approver.
I have a SharePoint list on the same subsite which contains a list of Access Levels (single text), System (a lookup to a list called Systems) and their approvers (person picker field) - I am retrieving this list as a data connection.
Firstly the Access Level field is filtered to only show the access levels that belong to a particular system (i.e. cascading dropdowns) - this works fine. The Access Level field has an action rule which set's the value of the field Approver to the outcome of the following function: substring-after(AccountId[Title = Access Levels], "\"). AccountID is from the Access Levels secondary data connection that's part of the person picker group of the "Approver" column. The filter, although it says "title" when I click further and see the filter, it is filtering based on the Access Level field from the repeating table (part of the "Main" data connection) and the access level field from the secondary data connection to the Access levels SharePoint list.
The problem is that the first item in the repeating table seems to work OK (at least when it is first entered) as it retrieves the correct approver, but any additional rows don't retrieve the correct approver. Plus, if I edit the first row and change the access level the approver also becomes incorrect.
I haven't narrowed down any consistency in which approvers are being picked - sometimes it seems to be the user from row 1 that is selected in subsequent rows, but not all the time.
Can anybody help?
Thanks.