Export utility in Diyotta Studio is used to generate JSON file corresponding to the objects in Studio. The JSON file generated can be used to deploy Diyotta code from one Diyotta environment to another or to save the Diyotta code in external code repository. When exporting any object from Diyotta Studio the exported JSON file includes the lower level objects used in the exported object. Also, when exporting a job flow all the dependent tasks are included to the exported JSON.

For example: To export a job flow, the exported JSON contains associated Data Point, Data Object, and Data Flows. To export the Studio objects, follow below steps.

Step I: Navigate to the Studio object tab which you want to export. For reference, here we are exporting a Job Flow.

Option I: From the list of job flows, select one or more job flows, and on the Actions menu, click Export.

Alternatively, you can also export single job flow on canvas from specific job flow actions. From the list of Job Flows, click the ellipses for specific Job Flow, and on the Actions menu, click Export.

Option II: From the list of job flows, open a Job Flow and on the Actions menu, click ExportTo open a job Flow, refer Opening Job Flow.

Step II: Export wizard appears and displays export object name( for reference, jf_loopcmd_PG_1) and the type ( Job flow type). 

To export all the associated objects, click Save and associated Data Point, Data Object, and Data Flows are exported to JSON.

To view all the associated objects, click on the + icon against the object name.

Step III: The objects get exported in JSON file format to the default download folder in the local machine.

Note:

  • The exported JSON file can be used to maintain backup or to deploy the objects in higher environment. The exported file will be encrypted and not readable in JSON format. If any modifications are made to the exported JSON file before importing, then it can cause unexpected behaviour.
  • To import the exported objects, refer Importing Diyotta Objects.