Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel4

Preconditions

1. Create Greenrain Automation database schema

Create the required database tables by running the script.

2. Create Customer database schema

Create the required database tables by running the script.

3. Create record in PersonRegister table (Customer database)

Create record in the following format: Person Register Table (TransactionId=NULL).

Configuration

The following settings are required to be made for Person.Register transaction generation from Table in Customer Database:

1. Go to Greenrain Automation Settings

Log in to Greenrain Automation. Select "Settings" from the Toolbar → 'Greenrain Automation Settings' form opens.

Image Removed

Figure1.

2. Configure Person.Register tab

Image Removed

Figure2.

Select Person.Register tab and configure settings:

  1. 'Generate and upload Person.Register transactions to Shafafiya': should be checked.
  2. 'Processing interval' drop-down fills automatically with custom values. User can select an interval from the list, '30 minutes' for example.
  3. 'Choose where Greenrain Automation will get person register data from':
    1. 'DatabaseTable' value should be selected from drop-down list.
    2. 'Connection string to the database'. Click "Configure Database Connection..." button and set Database = Name of the Customer database (see Preconditions p.2). Click "OK" button (if you wish to test the connection string click the "Test Connection String" button.).
    3. 'Table name'. Specify the table from which you want to retrieve data (PersonRegister from Customer database, see Preconditions p.2).
  4. Click "Save" button.

3. Configure E-Mail Notifications tab

Image Removed

Figure3.

Users can be notified about the success or failure of transactions that are generated. If you'd like to get notifications select E-Mail Notifications tab and configure settings:

  1. 'Send e-mail notifications': should be checked.
  2. 'Use Greenrain SMTP server': should be checked.
  3. 'Failure notification addresses (comma separated)': here you can define the recipient email address(es) for where you want to receive an emailed notification about PersonRegister transaction generation from Greenrain Automation. If you wish to test the email notifications click the "Send test e-mail" link.
  4. Click "Save" button.

4. Configure Post Office Settings

Image Removed

Figure4.

Select Post Office Settings tab and check settings:

  1. 'Process claims from HAAD Post Office': unchecked.
  2. 'HAAD Post Office Settings':
    1. 'Post Office': the control is prefilled with configured PO (from Greenrain Messenger) to upload PersonRegister transaction.
    2. 'Active login': the control is prefilled with configured user login (from Greenrain Messenger) to upload PersonRegister transaction.
    3. 'Notification addresses for HAAD Post Office (comma separated)': the control is prefilled with user e-mail address(es).
  3. 'Process claims from DHA Post Office': unchecked.
  4. 'DHA Post Office Settings':
    1. 'Post Office': user can leave it blank.
    2. 'Active login': user can leave it blank.
    3. 'Notification addresses for DHA Post Office (comma separated)': the control is prefilled with user e-mail address(es).
  5. Click "Save" button.

5. Configure Database tab

Image Removed

...

Table of Contents
maxLevel4

Preconditions

1. Create Greenrain Automation database schema

Create the required database tables by running the script.

2. Create Customer database schema

Create the required database tables by running the script.

3. Create record in PersonRegister table (Customer database)

Create record in the following format: Person Register Table (TransactionId=NULL).

Configuration

The following settings are required to be made for Person.Register transaction generation from 'Table in Customer Database':

1. Go to Greenrain Automation Settings

Log in to Greenrain Automation. Select "Settings" from the Toolbar → 'Greenrain Automation Settings' form opens.

Image Added

Figure1.

2. Configure Person.Register tab

Image Added

Figure2.

Select Person.Register tab and configure settings:

  1. 'Generate and upload Person.Register transactions to Shafafiya': should be checked.
  2. 'Processing interval'

...

  1.  drop-down fills automatically with custom values. User can select an interval from the list, '30 minutes' for example.
  2. 'Choose where Greenrain Automation will get person register data from':
    1. 'DatabaseTable' value should be selected from drop-down list.
    2. 'Connection string to the database'. Click "Configure Database Connection..." button and set Database = Name of the

...

    1. Customer database (see Preconditions p.

...

    1. 2). Click "OK" button (if you wish to test the connection string click the "Test Connection String" button.).
    2. '

...

    1. Table name'. Specify the table from which you want to retrieve data (PersonRegister from Customer database, see Preconditions p.2).
  1. Click "Save" button.

3. Check common configuration

Generate PersonRegister transaction

1. Go to Greenrain Automation Services

Select "Services" from the Toolbar → 'Greenrain Automation Services' form opens (reger refer to Figure1.).

2. Start the service

It allows to start a service after certain runtime configured on the Person Resister tab (refer to Configuration → 2. Configure Person.Register tab).

  1. Click "Start the service" link:
    1. 'Download Service Status' will be changed to RUNNING (marked with green).
    2. 'Stop the service' link will be displayed under the status.
  2. Click "Close" button.

Image Modified

Figure6Figure3.

"Run" link in the Toolbar allows a user to run the service at any time on demand (refer to Figure1.).

...

  1. check e-mail notification.
  2. check Greenrain Automation database:
    1. PersonRegister table: 1 record is created;
    2. Transactions table: 1 record is created (FileName format: <Persons_Sender_CurrentDate_CurrentTime>).
  3. check Customer database:
    1. PersonRegister table: TransactionId is updated.
  4. check PersonRegister transaction in Greenrain MessangerMessenger: 
    1. Log in to Greenrain Messanger (refer to Configuration common configuration 43. Configure Post Office Settings).
    2. Select "Download" tab.
    3. Set filters and click "Search" button → the uploaded Person.Register transaction has been found ('Transaction File' format: <Persons_Sender_CurrentDate_CurrentTime>):
      1. set "Transaction date"
      2. set "Person.Register" checked
      3. set "Sent only" and "New only"

Image Added

Figure4.