select id from workflowexecution where subject like '%FOZG-069338%'; update workflowexecution set state = 4, cancellationDate=CURRENT_TIMESTAMP where id = 34470; update workflowdefinitionexecution set state = 4 , cancellationDate=CURRENT_TIMESTAMP where workflowexecution_id = (select id from workflowexecution where id = 34470); update workflowstepexecution set state = 4 where workflowdefinitionexecution_id in (select id from workflowdefinitionexecution where workflowexecution_id = (select id from workflowexecution where id = 34470));