Hello,
I need support regarding an issue in my Maestro process.
I have created a Maestro workflow that contains an RPA task using Document Understanding to extract data from documents. The extraction is completed successfully, and I can see the extracted output in the workflow.
However, when I pass the extracted data to an Agent, the Agent receives a null value.
After debugging the flow, I found that the output from Document Understanding takes some time to get updated while the process is running through Maestro. To handle this scenario, I added a condition to check whether the JObject is null. I used the following expressions:
var.Jobject == nullvar.Jobject != null
If the JObject is null, the workflow waits for one minute and then checks again. I also created a separate wait workflow for this purpose. When I run the RPA task independently, the output gets updated in less than one minute, which is why I initially configured the wait time to one minute. I also tried increasing the wait time, but the issue still persists.
Unfortunately, the process keeps running in the loop for a long time and never exits, even though the Document Understanding extraction has been completed successfully.
Has anyone encountered a similar issue in Maestro? Is there a recommended approach to synchronize the Document Understanding output before passing it to the Agent? Also, is there a better way to validate whether the JObject has been updated instead of using the conditions mentioned above?
Thank you.
