cancel
Showing results for 
Search instead for 
Did you mean: 

signalEvent Async with Tenant overload is missing Map<String,Object>

jwestra
Champ in-the-making
Champ in-the-making
Hi!

I'm running 5.20. 

This method exists, RuntimeService.signalEventReceivedWithTenantId(String signalName, Map<String,Object> processVariables, String tenantId).  But, not the Async version of it…

In otherwords, I'd like to call this, but it is not in the API:
======================================================

RuntimeService.signalEventReceivedAsyncWithTenantId(String signalName, Map<String,Object> processVariables, String tenantId)


Is there a technical reason, the Async overload of the API does not take processVariables map?
If there is not, when can we see it in the API?
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
There is also no counterpart without tenantId.

I dug a little deeper here, and it seems that the async event handling with variables is simply not there: https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/.... See the 'TODO' there.

So adding this would be a new feature, not just adding it. But you are right, it should be added in the future. I'm just not sure what the proper way of serializing it with the job would be.