Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 10 Palette Reference : Receive

Receive
Activity
The Receive activity waits for a message. The orchestration process does not continue to the next activity until the message is received. For example, your orchestration process may handle new requests for loans. A message requesting a new loan starts the process, but later in the process, an approval is required from a loan officer. You would use the Receive activity to wait for the approval message.
Configuration
The Configuration tab has the following fields.
The input partner declared on the Orchestration Process that describes the incoming message. See Partners for more information about declaring input partners.
The operation on the specified input partner that was invoked to produce the incoming message.
A string used to associate reply messages with the correct activity that received the message. Any replies to the incoming message should use the same string in the Message Exchange field to ensure that the reply is sent to the correct recipient.
Correlations for the incoming message. See Correlations for more information about correlations.
Join Condition
The Join Condition tab allows you to define an expression based on the values of the incoming transitions to the activity. If the expression evaluates to true, the activity is executed, if the expression evaluates to false, either the activity is bypassed or a fault is thrown. See Transitions and Join Conditions for more information about join conditions.
The Join Condition tab has the following fields.
Specifies what action to perform if the join expression evaluates to false. The following options are available:
Inherit setting — use the default action specified within the current scope. The current scope is either the current group containing the activity or the orchestration process if the activity is not within a group.
Bypass activity if false — skip the processing of the activity, set the outgoing transition conditions to false without evaluating them, and resume processing.
Throw fault if false — throw a joinFailure fault and switch control to an error-handling routine configured to catch all unhandled exceptions. If the exception is not caught, the fault is propagated to the calling environment.
The expression to evaluate to determine if the activity should be executed. The only data available to this expression is the value of any transitions into the activity. You can use the XPath Formula Builder to create the join expression.
Output
The output for the activity is the following.
The output of this activity is the incoming message from the calling client or service. The structure of the message is determined by the schema of the input message for the selected operation on the Configuration tab.
Output Variable
The output variable tab allows you to select a process variable to contain the output of the activity. The schema of the process variable must match the schema of the output for the activity shown on the Output tab.
 
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved