Untitled

mail@pastecode.io avatar
unknown
plain_text
21 days ago
297 B
1
Indexable
Never
select DISTINCT a.UserId, a.WorkflowId, c.AccountId From ActivityLog AS a
JOIN Credential AS c ON c.UserId = a.UserId 
JOIN Workflow w ON w.WorkflowId = a.WorkflowId
WHERE a.WorkflowId 
IN (SELECT WorkflowId FROM Workflow WHERE UserId IS NULL AND OrgId='642523719853956') AND c.Type='smartsheet';
Leave a Comment