Result Fields
When processing a record, the operation results from one operation block, such as Create or Update, can be used within a TIBCO Cloud™ Integration - Connect formula in later blocks. The results are stored in Result fields, which you can use as you would any other field in Source and Target operation blocks in your flow.
- Values for Result fields are available only after the operation block has been executed.
- For any block, Result fields are available only for previous blocks in the flow.
- Results fields are not available from any Blocks that use batch processing.
- The entities for Result fields begin with the Connection Alias and entity name. For example, if you have a Dynamics CRM Connection with an alias of CRM1, all Result fields names begin with CRM1_.
- Once a Control block has been executed and the process has moved outside that block, subsequent Blocks cannot read results from Blocks executed inside the Control block. For example, results obtained by blocks within a For Each Child block, cannot be read by blocks outside the For Each Child block.
Use A Result Field From The Source Pane
- If Result fields are available, the entity that contains the fields and all of the fields for the previously executed Blocks is available in the Source pane.
- To use a Result field in a formula, select the Result entity name to open the entity. The Result fields display in alphabetical order with the other fields in the original entity.
- You can use the Result fields as you would any other field.
Use A Result Field From the Formula Editor
- From the Edit page of a Block, such as Create, Update, or Delete, open a tab from which you can use the Formula Editor. Any Fields, Matching Criteria, or Lookup Criteria tab provides access to the Formula Editor.
- Select the field or value for which you want to use a Results field. Select the Formula icon to open the Formula Editor.
- From the Operations category, select the operation whose Result fields you want to use.
Note: The Operation Results category only displays for Blocks where results from previously executed Blocks are available. The Edit Formula window in the first operation Block after the Query Block never shows an Operation Results category.
- From the center Operation Results pane, select the Result field you want to include in the formula. Results fields are:
As shown in the image above, Result fields display alphabetically in the list of available fields and can be used as you would use any other field. For more information, see Formula Editor Overview.
- When you are done, select Validate to test your formula, and then select OK to close the Formula Editor.
Related Topics
TIBCO Cloud™ Integration - Connect Functions