fn dynamic_append_workflow_events( root: &mut Value, workflow_execution_id: i64, transition: Option<&Value>, ) -> bool
Appends two minimal workflow events for the applied transition.