I set up a form data collection workflow using Dify v1.8. The workflow does not involve database access or saving; I only created an agent that incorporates the workflow mentioned above. The purpose of the workflow is to collect data through conversational interaction. The workflow runs normally on its own, but when embedded into the agent, after executing the workflow, there is no mechanism to terminate the workflow. Upon tracing the feedback, the following error was recorded:
tool invoke error: Instance <Account at 0x77b4a84588c0> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/20/bhk3))
No data access was involved in this process.
