pub async fn get_workflow_trigger_status( core: &Arc<AppCore>, workflow_id: &str, ) -> Result<Option<TriggerStatus>>