- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2018 05:49 AM
Hello,
I have 2 process P and Q where I am trying to throw signal (globally)from process P and catching signal at Q. When there are multiple instances, for example: In process P -process instances P1, P2 and in process Q -process instances Q1 and Q2.
If I throw signal from one process instance that will be caught by multiple instances of other process.
For example, If I throw signal from Q1 that will be caught by all the instances of P [P1,P2].
I tried following ways:
1] RuntimeService.signalEventReceived(String signalName, String executionId);
With this method, I can invoke particular instance but, was not able to pass the details[data].
2]
POST runtime/signals
{
"signalName": "My Signal",
"tenantId" : "execute",
"async": true,
"variables": [
{"name": "testVar", "value": "This is a string"}
]
}
With this api, I was able to get details[data] by passing variables, but was not able to invoke particular process instance.
Is there any way to send signal to particular instance along with details?
Thanks & Regards,
Shilpa V Kulkarni
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2018 06:23 AM
I notice this was also posted on stackoverflow - were you able to make progress with the answer posted there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2018 06:23 AM
I notice this was also posted on stackoverflow - were you able to make progress with the answer posted there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2018 06:36 AM
Yes.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2020 03:29 AM
Hi Shilpak,
Can you please share us your sample bpmn process with variables for Signal events.
Am also facing difficulties with multiple instances.
Vinay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2020 10:12 AM
Hi @VinayTg,
If you want a response from a member, best tag their username - like so @VinayTg .
Also, this is quite an old thread & marked as solved - which sometimes means people ignore it. Usually it's better to start your own thread.
Best wishes,
Problem solved? Click Accept as Solution!
