Passing variables with signal in BPMN
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2015 11:54 AM
So there is a method in REST API which allows us to create the signal which is caught by signal start events and signal catching events. (http://www.activiti.org/userguide/#_signal_event_received) There is a working feature to send some variables with that signal - I've tried it and the process instance which is created by that REST method actually has the variables I've sent with the signal. How can I describe the same signal throwing event (which will have some variables along the signal) in BPMN model? Userguide and Google searching do not actually help me on this one.
P. S. I suppose I will give some context on why do I need it in first place. There is some workflow process which starts at 'one process per day' rate. At the evening the process instance should pass some data to the next process instance and finish, and the next day process is created. My point of view on it is: we send the signal with some variables at the very end of the process, and start the next process with the signal start event.
P. S. I suppose I will give some context on why do I need it in first place. There is some workflow process which starts at 'one process per day' rate. At the evening the process instance should pass some data to the next process instance and finish, and the next day process is created. My point of view on it is: we send the signal with some variables at the very end of the process, and start the next process with the signal start event.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2015 03:07 PM
Hmm, indeed you can't do that at the moment. It would be a nice feature to add.
As a workaround you could use a service task right now that does the runtimeService.signalReceived programmatically.
As a workaround you could use a service task right now that does the runtimeService.signalReceived programmatically.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2015 08:16 AM
Yes, this works quite fine, thank you!
