Closed jasquat closed 3 weeks ago
The recent updates focus on enhancing the task data retrieval and handling within the SpiffWorkflow backend. The modifications include expanding SQL queries to fetch additional data, refining task parent-child relationships, and improving task state management in process instances, especially for parallel branches and cancelled tasks.
File Path | Change Summary |
---|---|
.../bin/query_tasks |
Modified SQL query to include additional columns and join another table for enhanced data retrieval related to process instances. |
.../models/task.py |
Updated parent_task_model method to utilize parent_guid for fetching parent task data from properties_json . |
.../services/process_instance_processor.py |
Enhanced _get_tasks_dict function to include parent task data and adjusted handling of CANCELLED tasks for Gateways. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Supports #1359
This updates task loading to include task data for CANCELLED tasks and the immediate parent of any relevant task. This helps to fix issues with parallel gateways.
Summary by CodeRabbit
New Features
Bug Fixes