- TIBCO BusinessEvents®
- Standard
- Event
- Ext

# Event.Ext.setPayload()

## Signature

`void setPayload(SimpleEvent target, SimpleEvent source)`

## Domain

ACTION, CONDITION, BUI

## Description

Makes the target SimpleEvent use the same payload as the source SimpleEvent.

## Parameters

Name | Type | Description
--- | --- | ---
`target` | `SimpleEvent` | The SimpleEvent whose payload is being set.
`source` | `SimpleEvent` | The SimpleEvent from which the payload is obtained

## Returns

Type | Description
--- | ---
`void` |