sentry icon indicating copy to clipboard operation
sentry copied to clipboard

feat(workflow_engine): Add support to handle `Activity` events in the `WorkflowEventData`

Open saponifi3d opened this issue 4 months ago • 1 comments

Description

Since so much of the system needs access to the WorkflowEventData.event.group and the Activity model doesn't support it (but we do have access to it), so i moved group to the top level of WorkflowEventData -- this allows a majority of the DataConditions to work seamlessly between activities and events.

The core change here is to WorkflowEventData type and everything else is a cascade that needed to be updated. Thanks to all for typing things so well to make this easier to discover / update.

I'll have another PR that starts to send the activities and connects everything in workflow_engine/tasks.py.

saponifi3d avatar Jun 14 '25 00:06 saponifi3d