Hello Community,
Background:
I am creating a Power App for a process that has task for an attorney and reviewers for contracts.
1. User creates Parent and assigns a task to an attorney.
2. Attorney does his/her job and then assigns Reviewers and creates two new task. (error occurs here)
3. Reviewers approve his/her job and assigns it goes back to user.
4. Finished!
Two List
'Contract Analysis' - Houses general information.
'Contract Analysis Task List' - Houses the task for the Attorney and Reviewers
I hope I did a good enough job kind of explaining the gist of what is happening.
Code is attached.
Error is attached.
My initial thought is that, I am updating the 'Contract Analysis Task List' and creating items too quickly for the server to be able to deal with it. But I also feel like this shouldn't be an issue. So if anyone has any advice on house this should be fixed I would love any ideas.
P.S. If nothing comes from this I am aware I can just create another list. So instead of 'Contract Analysis Task List', I'll have
'Attorney Task List' and 'Contract Reviewers Task List'.
Thanks,
Brandon Tate
Hi @brandontate ,
I've searched some similar issues, and found that this problem should be caused by "creating items too quickly for the server to be able to deal with it" which means that your thought is right.
I suggest you add Refresh function before every patch function.
For example:
Refresh(datasource);
Patch(....);
Refresh(datasource);
Patch(....);....
Here are some similar issues for your reference:
Best regards,
User | Count |
---|---|
253 | |
106 | |
94 | |
50 | |
39 |