# Post-Deployment Activities

## Introduction

Using this feature, users can perform the deployments to the Orgs selected on the post-deployment activities.

#### Feature Overview

While configuring the CI Job, users can designate up to five target orgs for post-deployment activities. This capability streamlines the deployment process by enabling simultaneous distribution of identical templates across multiple orgs, thereby eliminating the need for separate deployments to each environment.

#### Step-by-Step Guide

1. **Locate the Section**:\
   Navigate to the **Post Deployment Activities** section at the bottom of the **Job Settings** screen.

<figure><img src="https://github.com/AutoRabitOrg/knowledgebase/raw/7744f310785293503dd3729fd9d0403cae3b8211/.gitbook/assets/8%20-%20Feature%20CI%20Jobs%20(1).png" alt=""><figcaption></figcaption></figure>

2. **Enable Dataset Propagation**:
   1. Check the option labeled **Deploy the same dataset to**.
   2. A drop-down field will appear next to the label.
3. **Choose Target Orgs**:
   1. Click on the dropdown to view the list of available organizations.
   2. Select one or more target orgs by checking the boxes.
   3. The selected orgs will be listed below the dropdown, and the count of selected orgs will be shown.

<figure><img src="https://github.com/AutoRabitOrg/knowledgebase/raw/7744f310785293503dd3729fd9d0403cae3b8211/.gitbook/assets/8.1%20-%20Feature%20CI%20Jobs.png" alt=""><figcaption></figcaption></figure>

4. Continue to the preview screen after completing the selections on the "Post Deployment" activities
5. **Preview**: The preview screen provides a holistic view of the configurations selected for the deployment.

   <figure><img src="https://github.com/AutoRabitOrg/knowledgebase/raw/7744f310785293503dd3729fd9d0403cae3b8211/.gitbook/assets/5-%20Post%20Deployment%20(1).png" alt=""><figcaption></figcaption></figure>
6. Click **Save** to create a CI Job. On clicking "Save", the interface will navigate to the "CI Job List" page.
7. Initiate the job build by clicking on the "Play" icon available at the job level.
8. After verifying all the details of the build, the post-deployment selected can be observed here, click on the "Trigger build" to initiate the job build.

   <figure><img src="https://github.com/AutoRabitOrg/knowledgebase/raw/7744f310785293503dd3729fd9d0403cae3b8211/.gitbook/assets/6.1-%20Post%20Deployment.png" alt=""><figcaption></figcaption></figure>
9. Once the job run is completed, the post-deployment details and logs can be observed here.

   &#x20;

   <figure><img src="https://github.com/AutoRabitOrg/knowledgebase/raw/7744f310785293503dd3729fd9d0403cae3b8211/.gitbook/assets/7-%20Post%20Deployment.png" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://github.com/AutoRabitOrg/knowledgebase/raw/7744f310785293503dd3729fd9d0403cae3b8211/.gitbook/assets/8-%20Post%20Deployment.png" alt=""><figcaption></figcaption></figure>
10. The post-deployment logs can be downloaded using the logs icon.

    <figure><img src="https://github.com/AutoRabitOrg/knowledgebase/raw/7744f310785293503dd3729fd9d0403cae3b8211/.gitbook/assets/9-%20Post%20Deployment.png" alt=""><figcaption></figcaption></figure>
11. Clicking on "View Logs" will redirect the user to the "Feature Logs" section.

    <figure><img src="https://github.com/AutoRabitOrg/knowledgebase/raw/7744f310785293503dd3729fd9d0403cae3b8211/.gitbook/assets/10-%20Post%20Deployment.png" alt=""><figcaption></figcaption></figure>


---

# 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://knowledgebase.autorabit.com/product-guides/arm-1/arm-features/ncino/feature-ci-jobs/running-a-ci-job/post-deployment-activities.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.
