Hi Selcuk,
Did you try using the end transaction and start transaction java actions?
Maybe you can place the end transaction just after the Java action and then just after the end transaction you can use the start transaction java action.
Then try retrieving the list, that you want to perform your operation on.
Let me know, if you have any issue,
Hope it helps!
Rishabh
(Resilientitservices)
Probably the microflow you trigger in the Java action isn't finished the moment you do your retrieve.
Can't you replace the java action with a sub microflow?! Then you'll be sure the data is available when it goes to the next step.
Hi Selcuk,
the "Executemicroflowinbackground" should not be used if the result of the microflow call is needed to perform additional checks or actions.
It is an asynchronous operation, in the calling microflow you have no way of knowing when the background action starts and when it is finished. For example, if another action is already running in the background, that one needs to be completed first.
Use a normal microflow call, or show a page with the target objects in a datagrid and use the microflow timer or other automatic refresh option to see the progress of the background task.