# Outbound Map :: Generate Payload

## Summary

Takes a comment string and wraps it into a Panel of a specified type. The panel will have a header and a body.

## Action Inputs

| Label                | Name                    | Type                                | Mandatory | Description |
| -------------------- | ----------------------- | ----------------------------------- | --------- | ----------- |
| Source Record Table  | source\_record\_table   | Table Name                          | No        |             |
| Source Record Sys ID | source\_record\_sys\_id | String                              | No        |             |
| Outbound Map         | outbound\_map           | Reference (Reference: Outbound Map) | No        |             |

## Action Outputs

| Label         | Name           | Type       | Mandatory | Description                                                       |
| ------------- | -------------- | ---------- | --------- | ----------------------------------------------------------------- |
| Success       | success        | True/False | No        | Successfully found a Mapping Entry                                |
| Log           | log            | String     | No        | Any logging statements that occuring in the process of the action |
| Error Message | error\_message | String     | No        | If there was an error, that error information will be stored here |
| Result        | result         | String     | No        | The attributes's value as a string representation                 |

## Notes

* This action belongs to the **JIRA Markdown Formatting** category.
* This action includes reference fields that link to other tables in ServiceNow:
  * references the table.
* This action returns 4 output(s) that can be used in subsequent flow steps.

## Example Usage

### Example 1: Basic Usage

This example demonstrates how to use the action with typical inputs.

**Input:**

**Output:**

In this example, the action processes the provided inputs and returns the appropriate outputs. The actual values returned will depend on the specific functionality of this action and the input values provided.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yansalabs.com/jira-integration-framework/technical-docs/spoke-actions/outbound-map-generate-payload.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
