Hi Scott_Parker
I have created an app based on Sharepoint lists with a limit of 2000 rows regarding delegation...
One of my lists contains currently approx. 3000 rows of data. and it will keep on increasing ( = delegation is very relevant)...
In my app I have a button in a gallery, that is to update those rows of data which meets a given sets of criterias.
As you wrote earlier, the filter function is the important part in order to stay with in the limit of 2000 rows....
I have writen this code, where I have created a filter within a filter, as I assume that the blue part in a filter could cause problems related to delegation... (otherwise I could have all the informations in the same filter)
---------------
ForAll(
Filter(Filter(Table_Tasks;SagNummer=ThisItem.SagNummer;Status=10);";"&ThisItem.TaskNummer&";" in Predecessor);
Patch(Table_Tasks; ThisRecord;
{Predecessor: Substitute(ThisRecord.Predecessor; ";"&ThisItem.TaskNummer&";"; "" );
Status: If(ThisRecord.Predecessor = ";"&ThisItem.TaskNummer&";"; 20; 10);
Tasks_ChangedBy:CurrentUsername;
Tasks_ChangedDate:Now()}
))
---------------
"Table_Tasks" contains approx. 3000 rows of data
"SagNummer=ThisItem.SagNummer" reduces the rows of data to max 13 rows
"Status=10" and ";"&ThisItem.TaskNummer&";" in Predecessor reduces the rows of data to those which is to be updated with Status = 20 and ";"&ThisItem.TaskNummer&";" is to be removed from the Predecessor...
It seems to fail from time to time (not always), so I don't know if delegation could be the problem...
Could you please help me? 😉
If delegation is not the problem - is there a way to see, what has happend since the code wasn't carried out correctly, when the user pressed the button? (The app control center where errors and performance can be tracked shows nothing as it works fine, when I test the system, but when it fails with another user, I would like to see some kind of log, showing why nothing is being changed when the button is pressed)
Thanks in advance
Wkr Jørgen