update workflowactionset set actionname = replace(actionname,'action.','')
where instr(actionname,'action.')>0
where CHARINDEX('action.',actionname)>0
update workflowactionset set interfaceid = replace(interfaceid,'action.','')
where instr(interfaceid,'action.')>0
where CHARINDEX('action.',interfaceid)>0
and instr(b.actiontable, -a.formid) = 0
and charindex(cast(-a.formid as varchar), b.actiontable) = 0