select count(*) from wf_transition_assignment_map where workflow_key = :workflow_key and transition_key = :transition_key and assign_transition_key = :assign_transition_key insert into wf_transition_assignment_map (workflow_key, transition_key, assign_transition_key) values (:workflow_key, :transition_key, :assign_transition_key)