10. Export/Import of Tasks

In Jiffy, tasks can be moved from one Release to another Release.
During Import flow users has a option to choose between existing or new entities.

Note: Whenever Export / Import functionality is used for any of the tasks, Username / Passwords Parameters stored in the tasks will NOT BE imported and users needs to re-configure after the import.

Movement of Tasks is achievable across different Jiffy servers. For Example , Tasks developed in Development servers exported and imported to QA server . Similarly QA Server to PROD Servers.

  1. Jiffy Import Export
  2. 1.1 New Process Deployment

    The steps below should be followed when a new process is moved from the Development server to the Stage / PROD server.
    1. Navigate to Task Design -> Tasks.
    2. Under the respective release, click on the Task ID of the task which needs to be exported.

    3. In the Overview tab of the Design page, click on the Export button.

    4. The export zip file will be downloaded.

    5. Go to the Jiffy environment where the task needs to be imported to (eg: Staging / PROD environment)
    6. Navigate to Task Design -> Tasks.
    7. Select the release where the task must be imported.
      Note: Create the project and release, in case it is not already created. For more information, click here.

    8. Click on the Add Task button.

    9. Select the Import from file option from the dropdown.

    10. Click on the Select File button and select the exported zip file which was downloaded earlier.

    11. Click on the Next button.

    12. Select the required documents for Doc Processing needed for that task to import (if it is listed) and click on the Next button.
      Note: If there is any PDF processing in the task with Intelligent Document Processing, the following screen will have the details for the same.

    13. Select the required Templates needed for that task to import (if it is listed) and click on the Next button.
      Note: If the task is using any XML template / CSV template etc, the same will be displayed in the below screen.


      Note: If the task is getting imported for the first time, the Use Existing checkbox will not be available / will not be selected. The same applies to all the below scenario.
    14. Select the Apps (UIs) needed for that task to import (if it is listed) and click on the Next button.

    15. Select the required modules needed for that task to import (if it is listed) and click on the Next button.

    16. Select the UI controls needed for that task to import (if it is listed) and click on the Next button.

    17. Select the Repository(s) needed for that task to import (if it is listed) and click on the Next button.

    18. Select the Vault details needed for that task to import (if it is listed) and click on the Next button.

    19. Select the Clusters needed for that task to import (if it is listed) and click on the Next button.

    20. Select the required Configurations needed for that task to import (if it is listed) and click on the Next button.

    21. Select the required Component(s) needed for that task to import (if it is listed) and click on the Next button.

    22. Select the required Task(s) needed for that task to import (if it is listed) and click on the Save and go to Summary button.

    23. A summary of the imported task will be displayed.
    24. Click on the Close button to complete the import of the task to respected release.


      Note: Repeat the same steps for all the tasks that need to be imported. In case the App/module already exists, check the Use Existing checkbox.

    1.2 Existing Process Upgrade

    The steps below should be followed when an existing process is moved from the Development server to the Stage / PROD server due to a change request.
    1. Navigate to Task Design -> Tasks.
    2. Under the respective release, click on the Task ID of the task which needs to be exported.

    3. In the Overview tab of the Design page, click on the Export button.

    4. The export zip file will be downloaded.

    5. Go to the Jiffy environment where the task needs to be imported to (eg: Staging / PROD environment)
    6. Navigate to Task Design -> Tasks.
    7. Select the release where the task must be imported.
    8. Import the task in the Stage / PROD environment and for each component. Follow the steps mentioned here.



      Note: Use the Use Existing or Create new options based on the below table.

  3. JDI Project, App installation and App upgrade
  4. There are three types of deployments based on the scenarios it is handled.
    • Initial setup in a new JDI environment.
    • New application creation.
    • Upgrade of an existing application.


    2.1 JDI Project Installation

    The following steps are used when there are no projects installed. This includes the creation of a project and app.
    1. Download the project file from JDI Studio in the development environment.




    2. Follow the below commands in the Stage / PROD UNIX server where JDI is installed.

      mkdir -p {Mount Point}/JDI/studioJDI/uploads

      copy Download Zip from Studio copy to ({Mount Point}/JDI/studioJDI/uploads)

      cd {Mount Point}/JDI/studioJDI/uploads

      unzip <File name JDI zip>

      supervisorctl stop JDI

      cd {Mount point}/jiffy/JDI/studioJDI

      mv deploy/ deploy_init

      cp -rf uploads/{JDI_08_12_2019_15_36_45_125128}/deploy/ /SWA/jiffy/JDI/studioJDI/

      cd /SWA/jiffy/JDI/studioJDI/deploy

      source \$JIFFY_HOME/.envs/jiffyEnv/bin/activate

      python install.py

    3. Follow on screen instruction

      User input: 1

    4. Type the app name.

    5. Use the following commands to start the JDI.

      supervisorctl start JDI

      clear the {Mount Point}/JDI/studioJDI/uploads

    2.2 New JDI Project Installation

    These steps are followed when a new app needs to be created under an existing project.

    Note: JDI DB Backup needs to be performed prior to the deployment

    1. Download App Zip File from studio


    2. Follow the below commands to initialize the installation.

      copy Download Zip from Studio copy to ({Mount Point}/JDI/studioJDI/uploads)

      cd {Mount Point}/JDI/studioJDI/uploads

      unzip <File name JDI zip>

      supervisorctl stop JDI

    3. Follow the below commands to create a backup.

      cd {Mount point}/jiffy/JDI/studioJDI/deploy

      source \$JIFFY_HOME/.envs/jiffyEnv/bin/activate

      cd /SWA/jiffy/JDI/studioJDI

      python backup.py

      cp -rf uploads/JDI_SWA_BASIC_08_13_2019_13_30_13_013287/SWA_BASIC/deploy/src/

    4. Follow the below commands to finish the installation.

      cd deploy

      python install.py

    5. Follow the on-screen instructions.

      User input: 2

    6. Enter the app name.

    7. Use the below commands to start JDI

      supervisorctl start JDI

      clear the {Mount Point}/JDI/studioJDI/uploads


    2.3 JDI App Upgrade

    The JDI App Upgrade option is used in a scenario where there is a CR or changes required in the existing app.

    Note: JDI DB Backup need to be performed prior to the deployment

    1. Download App Zip file from studio



    2. Follow the below commands initialize the installation.

      copy Download Zip from Studio copy to ({Mount Point}/JDI/studioJDI/uploads)

      cd {Mount Point}/JDI/studioJDI/uploads

      unzip <File name JDI zip>

      supervisorctl stop JDI

    3. Follow the below commands to create a backup.

      cd {Mount point}/jiffy/JDI/studioJDI/deploy

      source \$JIFFY_HOME/.envs/jiffyEnv/bin/activate

      python backup.py

      cd /SWA/jiffy/JDI/studioJDI

      cp -rf uploads/JDI_SWA_BASIC_08_13_2019_13_48_50_217970/SWA_BASIC/ deploy/src/

    4. Follow the below commands to install JDI.

      cd deploy

      python install.py

    5. Follow the on-screen instructions.

      user input: 3

    6. Type the app name.

    7. Use the below commands to start JDI

      supervisorctl start JDI

      clear the {Mount Point}/JDI/studioJDI/uploads

    2.4 Troubleshooting

    To check the JDI Application DB connection

    1. Follow the below command sequence.

      cd {Mount point}/jiffy/JDI/studioJDI/deploy

      source \$JIFFY_HOME/.envs/jiffyEnv/bin/activate

      python manage.py dbshell

    2. To exit, type

          exit() 
      

Did you find what you were looking for?

Automation Analytics and AI in a box

Contact Us

HfS Hot Vendor

Option3's Automation capabilities featured in HfS Research's Hot Vendors List for Q3, 2018

Access your copy here