I am performing a loop process in which I obtain process information using script task `有効なプロセスを取得` and cancel each process one by one using cancel process `プロセスを強制キャンセル`.
If the number of script tasks processed exceeds 1000, a process error will occur.
What should I do to avoid this error?
Discussion posts and replies are publicly visible
Im not sure why you are making the script task as MNI. Try to put the nodes whatever that you want to run as MNI in a subprocess and make that subprocess as MNI. The below configuration will help you.
Thank you for your reply. This means that it must be processed as a subprocess.I will try.
Or, maybe try to implement this without looping in your model.
https://docs.appian.com/suite/help/24.2/looping.html
Thank you for your reply.Do you mean to reproduce this series of node processing using for, while, etc. within one script task?
Yes. Try that. And if you need to keep that loop, make sure to enable "When this node is completed: delete previously completed/canceled instances" for ALL nodes in the loop.
https://docs.appian.com/suite/help/24.2/Process_Node_and_Smart_Service_Properties.html#execution-options
Thank you for your reply.
I'll try it.