Receive message Task activity still running even if flow end

“Receive message Task” is getting trigger from Rabbit MQ listener using below code and I can see flow is also getting progressed and processed.But I can see a blue dot is still appearing in the this task even if the process is complete in the History view . Any reason why ?
camunda.getRuntimeService().createMessageCorrelation(ProcessConstants.MSG_NAME_PCapture h_Rcv_Ms) //
// .processInstanceVariableEquals(ProcessConstants.VAR_NAME_orderId, orderId) //
.processInstanceBusinessKey(orderId)
.setVariable(“resp”, msg) //
.setVariable(“id”,id)
.correlate();

Hi @anisk,

Is it possible to share a minimum example which reproduces the issue?

The flow I have shared . do you want the bpmn file ? .How I can share that ? any email id where I can drop the same.
The listener code is as like as below

@RabbitListener(bindings = @QueueBinding( //
value = @Queue(value = “abc_response_queue”, durable = “true”), //
exchange = @Exchange(value = “msd”, type = “topic”, durable = “true”), //
key = “#.outgoing”,arguments ={@Argument(name=“x-dead-letter-exchange”,value=""),
@Argument(name=“x-dead-letter-routing-key”,value=“abc_response_error”)

          } ))
      @Transactional
      public void processMqResponse(ResponseMsg<String> msg) throws  BadMessageException {
        // and call back directly with a generated transactionId
         System.out.println("#################From Rabbit MQ Receving response from Phoenix  "+msg.toString());
         try {
             processResponse(msg.getOrderId(), msg.getId(),msg.getMsg());
         } catch (Exception e){
           throw  new BadMessageException("Message to be Send in DLQ");
         }
      }

      public void processResponse(String orderId,String id, String msg) {
        System.out.println("#################Getting response from MSD and triggering workflow ##");

        camunda.getRuntimeService().createMessageCorrelation(ProcessConstants.MSG_NAME_Phoenix_Rcv_Ms) //
           // .processInstanceVariableEquals(ProcessConstants.VAR_NAME_orderId, orderId) //
                .processInstanceBusinessKey(orderId)
                .setVariable("resp", msg) //
                .setVariable("id",id)
                .correlate();
      }

One more thing related to this. Of late I verified more and can tell you that - it is not happening in the happy path . It is only happening when I am throwing an BPMN exception for “Receive Task Listener End event” to set the flow in the lower most path (i.e Amend Received ?)

If you use Camunda 7.11, there is an open bug CAM-10519.

@Yana thanks for your response
Yes I am using 7.11 and it is marked for 7.12 and status is unresolved . So that means If i use 7.12 alpha ,so it is not resolved till now ?

I am just wondering if any operation impact/issue even if I used this and let the blue tick still on even after process closed ?

The issue is still not resolved.

It shouldn’t have an impact on the process runtime. So far I see that it’s only one historic activity which marked as active.