public interface OutgoingMessageModifier
PIStateChangedMessage
messages before they are sent. If you want to
listen for incoming messages, implement the MessageListener
interface
instead.Modifier and Type | Method and Description |
---|---|
boolean |
beforeSend(PIStateChangedMessage request,
ProcessInstance pi)
Implement this method to modify automatically generated outgoing
PIStateChangedMessage messages before they are sent. |
boolean beforeSend(PIStateChangedMessage request, ProcessInstance pi)
PIStateChangedMessage
messages before they are sent. By returning
false
you can even prevent the message from being sent at all.request
- The PIStateChangedMessage
request message that will
be sent to a partner. You can modify the message (e.g., add additional
parameters...).pi
- The process instance which changed its state.true
(means: yes, send the
message) here, so that the process instance observer can retrieve the
expected answer which it is waiting for.@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.