Hello SAP,
I person acceptable up an interior connection process successful my solution and privation to recognize however the conditions are evaluated. In my setup, determination are 2 concern objects: TestBO1 (Sending) and TestBO2 (Receiving). Here are the conditions:
Start Condition:
Return ((this.GetProcessContext().IsCreated() || this.GetProcessContext().IsUpdated() || this.GetProcessContext().IsChanged()) && this.Status == "3"); // 3 = In-process
Change Condition:
Return ((this.GetProcessContext().IsCreated() || this.GetProcessContext().IsUpdated() || this.GetProcessContext().IsChanged()) && this.Status == "3"); // 3 = In-process
Cancel Condition:
// 1 - Posted
// 2 - To beryllium posted
// 4 - Resubmit
// 5 - Approved
Return (this.Status == "1" || this.Status == "2" || this.Status == "4" || this.Status == "5");
Whenever a grounds is created successful TestBO1, it sends a connection to TestBO2 arsenic agelong arsenic the presumption is "In-process". The aforesaid applies erstwhile a grounds is updated oregon changed. However, successful the cancel condition, if the presumption changes to "Posted", "Approved", "To beryllium posted", oregon "Resubmit", it volition not nonstop a connection to TestBO2.
In TestBO2, there’s logic that creates a Physical Inventory Count Document and updates the presumption of the grounds successful TestBO1 from "In-process" to "Posted". The contented is that aft a grounds is created successful TestBO1 and it gets processed successful TestBO2, a duplicate Physical Inventory Count Document is generated the adjacent greeting astatine astir 7 AM, adjacent erstwhile nary 1 is utilizing ByD astatine that time. I fishy that the information valuation mightiness beryllium triggering a connection to TestBO2 erstwhile the presumption is changed to "Posted", "Approved", "To beryllium posted", oregon "Resubmit".
I noticed that the duplication happens each greeting astir 7 AM. Could this beryllium causing representation dumps astatine the SAP ByDesign backend, resulting successful retries each greeting astir 7 AM? Since 7 AM successful Malaysia corresponds to 12 AM midnight oregon 1 AM successful Germany, it mightiness coincide with backend server refresh times.