I have a workflow that has 400 instances running in a "waiting" condition. Some of them may still be valid, but some of them have an entry ID that has already been acted upon and moved or deleted from the system. Has anyone created a workflow to evaluate another workflow and terminate it if necessary, depending upon conditions?
Question
Question
Can one workflow evaluate another workflow and stop it if conditions are met?
asked on May 23, 2024
0
0
Replies
replied on May 28, 2024
You could use a SQL query on your workflow database to evaluate the conditions. For example, if you know the `workflow_id` of the workflow you want to evaluate, you can query the `bp_instance` table by `workflow_id` and `bpi_status`, which will return all instances of the workflow that are the status that you specify.
0
0
replied on May 28, 2024
Are you sure your Subscriber is working properly and not backlogged? Deleting an entry would trigger a notification to Workflow and the wait condition would be cancelled.
0
0
You are not allowed to follow up in this post.