# Schedule Reports

With this feature you can **set schedule** to export and auto send **Reports/Word/Excel/Email Templates (CRM Views)** as email attachments at **regular intervals**.

* Navigate to **Click2Export --> Schedule Reports --> New** and fill the relevant details as shown below:

### General:

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2Fev3ppIQ11wu4HhMtRRhI%2F28.1.PNG?alt=media&#x26;token=973cc8f8-8f3e-4a28-b70e-14c6e9170747" alt=""><figcaption></figcaption></figure>

In General details the following fields need to be defined.

**Name:** Give name for the record (Schedule Reports).

**CRM Report Template:** Select the required **CRM Report Template** from the lookup field – **SSRS/Excel/Word/Email.**

**View:** Select the necessary view from the drop-down. Export and mail selected Word Template against each individual record present in the selected view. In case of Excel Template, the mail will be sent only to particular recipients selected while configuring CRM Report Template. ***(This field appears only if Word/Excel Template is selected for CRM Report Template).***

Under **Schedule Details** the user has to fill the following requirements.

**Occurrence Pattern:** Select any one option from **Daily, Weekly and Monthly.**

**Start Time:** Select the starting date and time to trigger the first export. Date and time should be current. Past date and time is not considered.

**End by:** Select the end date and time till when the report should be exported on a regular basis.

### **Interval:**&#x20;

The interval period depends upon the occurrence pattern selected by the user.

&#x20;     a) In the below screenshot, **Occurrence Pattern** is set as **Daily** and **Every X day(s)** is set as **3**. Here the first process will occur on 6th June 2019, at 5:30 and from there onwards every **3rd day** till the **End by** date & time.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M80xdrNN-PcgHDYOriU%2F-M80yPT0mdZHmmJvVUTd%2F3.png?alt=media\&token=27aa5df3-d6e7-4c86-ad49-c3d03f0494b8)

&#x20;     b) In the below screenshot, **Occurrence Pattern** is set as **Weekly** and **Recurs every X week(s)** is set as **2**. Here the first process will occur on the set **Start Time.** Next it will occur on the coming **Tuesday** and from there onwards every **2 weeks** on **Tuesday**, till the **End by** date & time.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M80xdrNN-PcgHDYOriU%2F-M80ywMr5KrgFntfWjEJ%2F4.png?alt=media\&token=cff0a193-e7a5-4c60-aa48-e82fe2f567da)

&#x20;     c) In below screenshot, **Occurrence Pattern** is set as **Monthly**, **Day** is set as **4** and **Of every X month(s)** is set as **2**. Here the first process will occur on the set **Start Time** and from there onwards **4th** day of every **2 months**, till the **End by** date & time.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M80xdrNN-PcgHDYOriU%2F-M80zdFKlHqIkTHp-P-l%2F5.png?alt=media\&token=4999d8f1-81ca-4bc7-8571-c4bc24f13c43)

Fill the required fields and click on **Save**.

{% hint style="info" %}
**Note:**&#x20;

**The user with Click2Export Administrator role can run same scheduling under multiple users at the same time.**

**The user with Click2Export User role will not be able to see 'Scheduled For' tab and can only run this scheduling under themselves.**
{% endhint %}

### **Scheduled For:**

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MB_stfMOv53ny0RsPHi%2F-MBa48Zr0-cyggILHHIT%2FSch%20Rep_2.png?alt=media\&token=c96b3a4c-097b-4aa2-a76b-c85a905ffa5a)

For this, you need to do [**'Set Credentials'** ](https://docs.inogic.com/click2export/prerequisites/set-credentials)on User form once to Generate Tokens. (Required for Reports/Word/Excel Template)

If no one is added in **'Scheduled For'** then this scheduling will be under the user selected in **'Run as'** field.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MB_stfMOv53ny0RsPHi%2F-MBa4QZA3TJ5WGj0757m%2FSch%20Rep_4.png?alt=media\&token=f6e54412-45c6-4c15-a059-235aa3efda7d)

### Send Notification:

* Next go to **Send Notification** section. Enable **Notify on Failure** checkbox and select sender and recipient(s) from the dropdown. This will ensure that an email is sent to notify recipient(s) about **Schedule Reports** process failure. Click on **Save** and complete the configuration of Schedule Reports.&#x20;

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MB_stfMOv53ny0RsPHi%2F-MBa4X5IaIgvJtpY5hFR%2FSch%20Rep_5.png?alt=media\&token=6add7670-21c1-49a5-bc01-94930e4d2855)

### Scheduled Report Status:

* Now to see the status of scheduling you can go to **'Schedule Report Status'** tab.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MB_stfMOv53ny0RsPHi%2F-MBa4bruXPIar3MKA20F%2FSch%20Rep_6.png?alt=media\&token=2b32a8eb-82d8-4af3-9fdb-edc8bed29c92)

* To view configured Schedule Reports navigate to **Click2Export --> Schedule Reports --> Active Schedule Reports.**

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MB_stfMOv53ny0RsPHi%2F-MBa4kK4kWMi0qvnZtMN%2FSch%20Rep_7.png?alt=media\&token=2fa7788e-64e4-4bea-9869-438421eaa173)

* Similarly, to view Schedule Reports with completed process navigate to **Click2Export --> Schedule Reports --> Inactive Schedule Reports**.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MB_stfMOv53ny0RsPHi%2F-MBa4sNDeUEp1-Q1Odlr%2FSch%20Rep_8.png?alt=media\&token=d02b2608-187b-4d99-8310-5b034defad4c)

{% hint style="info" %}
***If End by date is not defined, then the process will go on nonstop.***
{% endhint %}

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}


---

# 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.inogic.com/click2export/configuration/schedule-reports.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.
