Hi,
I'm currently working on an automation process that is initially started by SysOperation Framework. Within this process, I am using the standard method DMFEntityBase::addEntityForProcessingV3 to create projects and import data packages by making use of filestreams.
When the process is launched as Synchronous (specified in the controller of the SysOperation Framework), everything is fine. However, this process is quite long and it also locks the use of the environment which goes against the aim of this project. When run in Asynchronous, the outcome is very random - sometimes packages stall, sometimes it runs without errors and sometimes it doesn't even run at all. When run in ReliableAsynchronous, it's very similar to Asynchronous but the process keeps going when the session is interrupted, and so if a package stalls, this keeps going indefinitely. This led to running the entire process in batch.
When run as a batch job - the process goes through without any errors showing. However, when looking through all the data packages imported in the data management workspace, all of the data is imported in the staging table but not the target table (Status is "Didn't Run" in execution log). If I click "Copy data to Target" everything works without errors. This does not happen with the other methods mentioned in the previous paragraph (Synchronous, Asynchronous & ReliableAsynchronous). What I am finding strange is that when this process is run in batch, "Copy data to Target" seems like is being skipped. There also aren't any errors as when I click "Copy data to Target" without changing anything, it works as normal.
Is there a reason why this is happening?
Thanks
Here's a code snippet of the code in question:
Hi Etienne,
Because this issue requires further investigation, you are advised to create a support ticket for professional assistance following the below procedure.
admin.powerplatform.microsoft.com/support
Best Regards,
André Arnaud de Cal...
292,160
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156