You can add a class level bool to the condition. Below would be how you can set that up using a bool called "SubmissionReached" that is initialized as false.
if (!SubmissionReached && YOUR OTHER ENTRY CONDITIONS)
{
SubmissionReached = true;
// Order submission methods here
}
Then later in OnOrderUpdate when you assign the order, you can set the bool back to false:
if (order.Name == " YourOrderName")
{
YourOrderObject = order;
SubmissionReached = false;
}
We look forward to assisting.

Comment