Yes if two processes are triggered at the same time then one process will be running state and other will be in pending state. We can’t stop the running job automatically if any of the job is in pending state.
If you want to stop it manually then you can navigate to Jobs page and stop or kill the running job.
완전 실시간으로 B프로세스가 트리거 된 것을 감지하여 종료하기는 어려울 것 같고,
RE프레임워크에서의 Get Transaction Data 단계에 Should Strop이 들어있는 것 처럼 특정 지점에 Job 상태를 체크하는 로직을 만들어 그 시점에 B프로세스가 Pending 되어있는게 발견되면 멈추는 방식으로는 가능 할 것 같습니다.
액티비티를 통해 즉시 강제종료하는 방법은 최상위 워크플로우(프로세스 시작하는 진입점 xaml)에서 Terminate Workflow를 사용하면 됩니다.