Hi,
In a windows gui we cannot have a subflow (some API calls which can take a few seconds) in a manually started processflow, so we have made a systemflow starting this subflow based on a queue table.
From the client, we have a task starting a processflow that inserts a record in the queue table, and then system flow will execute. During the execution, I want to disable the task-button and when the systemflow is finished I want to refresh the table so the user sees the new information.
In the queue we have a processed bit, so it’s possible the processflow progress. When the processed bit is set, we can finish the processflow. Using waitfor delay seems to freeze the whole application.
Is it possible to pause or temporarily loop a processflow, without freezing the app?