We have a Function that will create a new Case when the ShipBy date is changed on the Order being triggered in the Sales Order Update Method Directive. Since the Function Widget Block does not return data, the Function is being called from a Custom Code block.
In an effort to save time, I would like to move this Custom Code to Async. However, I’m running into an issue where it will run fine Sync, but nothing gets created in Async. I occasionally get it to run Async, but it does not happen every time.
Are there any other settings or gotchas I should look out for when using Async with Custom Code blocks and Functions?
I also have a BPM that I tested and got approved with it running synchronously, then I flipped it to async and published it - and nothing happened… after throwing a bunch of tests at it, I flipped it back to Synchronous to test more, and it worked!
This was on Mass Receipt entry… my BPM adds only a second maybe, so I left it as-is … but I am very curious as to why it doesn’t seem to do anything in async
Is that an actual queue? Like where the lowest QueueNum is executed next, then deleted? So if I have 8.7 million records in the table, then I might have a real problem?
I don’t have a FailReason column - but in AttemptCounter, the first 2.25 million records have 3 attempts, then one with 2 and the rest have 0 … is it then just working its way through the millions of records - abandoning each as it hits 3 attempts?
It sure is!
I don’t use async anymore because things get hung up too easily and I would have to delete the queue records to get anything to move.
Good… uh… good luck with your millions of records. I sincerely hope someone steps in to tell me I’m wrong. LOL