Sushant, I spoke too soon.
The solution is actually very simple and is because it appears you are using Enterprise Edition rather than community edition.
You cannot call runtimeService.signalEventReceived() to trigger a signal start even in Enterprise edition UNLESS the process was deployed without a tenant id. By default, all deployments will include a tenant ID and the signalEventReceived includes the tenant ID in the query to locate subscriptions.
SO, ALL YOU NEED TO DO IS CHANGE YOUR RUNTIMESERVICE() CALL TO :
runtimeService.signalEventReceivedWithTenantId("EMAIL_SUPPORT_SIGNAL", "tenant_1");
Obviously if you are part of a different tenant, you would include that id.
I tested this and it worked immediately.
Greg
bp3
Thanks Greg, I got it working. Much Appreciated.
Hi Thuynh,
I was trying to create a trigger in my main flow that will be triggering sub flows. Now i am confused whether we can use timer event or sub process to achieve it?
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.