Versions Compared

Key

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

Instructions to use this template:

  1. Use this template to write the Product Requirements Document (PRD) for a single User JTBD or Initiative. 
  2. Each workflow within the PRD will correspond to an Epic in JIRA. Each User Story will correspond to a Story in JIRA that will be part of the Epic.
  3. Each section in the template has instructions, with examples explaining the type of content to be written in that section. 
  4. You may start typing into the section by eliminating the instructional text, or delete the instructional text after you have entered all content for the section.
  5. Repeat from section <Use Case 1> Overview for every use case in the User JTBD or Initiative

Table of Contents

outlinetrue


Introduction

Many of the states working on ETB program have a lot of exiting content in the form of videos or pdfs. They prefer to reuse it for linking to the QR codes in their textbooks. This greatly reduces effort and time required in finding content for ETB. It also enables reuse of existing curated and quality content for ETB. This story details enabling of bulk upload of existing content by states through online portal.

JTBD

  • Jobs To Be Done: Uploading existing content one by one manually is an intensive effort and time taking. Hence they prefer bulk uploading of the content on to the system. Currently this is being supported by implementation team. However with 28 states on-boarding, and the bulk upload process happening in multiple iterations, it becomes a significant effort for implementation team to handle this. Hence there is a high value in enabling this process through online portal so that each state can do this through their resources. There is no requirement of a detailed review process for this content as it would have already happened. Hence review of this on system before publishing is only a formal verification.
  • User Personas: State resources who own the process of content pooling for ETBs are the primary users of this system. These are typically an identified set of teachers who collate existing content and map them to the state textbooks. 
  • System or Environment: Desktops with Chrome browser and possibly MS office for working with excel. Network connectivity can be assumed but with lower bandwidth (1 mbps)

Requirement Specifications

Bulk Upload of Content - Overview

In order to ensure effective scale rollout of ETB and associated programs across states, it is critical to make states self-reliant to execute most of the ETB activities themselves. One of the major activity for which state is dependent on Diksha implementation team is bulk content upload. In this PRD we are going explain process, workflow and upload format for bulk data upload on Diksha by states.

Actor: Only Content Reviewer can execute this use case flow

Bulk Upload of Content - Overall Process Workflow


Bulk Upload of Content  - User Story

Main Scenario: Upload and Publish Content and Link it to Textbook

This scenario is uploading content, publishing it as well as linking the content to relevant textbook sections based on the QR code. The pre-requisite for this:

  1. The textbook to which content is linked should be in draft state and QR codes are mapped to relevant textbook sections
  2. The Bulk Upload CSV has mapping of QR code and Textbook id for each content

Actions:

  1. Content reviewer access Diksha link
  2. Reach out to Workspace. There should be a new option called: "Bulk Resource Content Upload". Under this, there will be two options:
    1. Start Bulk Upload csv file: To start bulk upload.
    2. Bulk Upload StatusLast upload file: This should display the upload status of the last upload. For the first time when it would not be there since there is no previous bulk upload, this button would remain disabled or upon click should display a message "There is no previous bulk upload".
    For new bulk upload, user should click on "Start Bulk Upload"
  3. Download the sample upload file from the dialogue box appearedlink below the upload option (refer screen). Format of the bulk upload sheet is as follows: https://docs.google.com/spreadsheets/d/1zo_KVAU3y_RR3p4Gpgud-geROZYXv9Efpgwdflszemc/edit#gid=0
  4. User should be able to access user guide form the dialogue box appeared from the link below the upload option (Refer wireframesscreens).
  5. User populates the bulk upload sheet in the required format.
  6. Again select Select "Start Bulk Upload csv file".
  7. Select bulk upload type as "Create, By default, "Publish & Link to Textbook" from the drop down. Permissible values are:
  8. Create:  Content created and sit in draft stage.
  9. Create &
  10. radio button would be selected as upload type. Upload options are:
    1. Publish : Content created and published.
    2. Create, Publish & Link to Textbook: Content created, published and linked to the respective textbooks as provided in bulk upload sheet. By default, this radio button is selected.
  11. Browse the populated bulk upload file. Click on "UploadStart Upload".
  12. In case file contains validation errors, error dialogue should appear with listed validation errors (Refer wireframeswire frames). User should rectify and upload again.
  13. In case there is no validation error, upload should start and user should be redirected to Workspace Work space screen.
  14. While upload is in progress, "Start Bulk Upload " should be renamed to "Bulk Upload in Progress" and it Upload csv file" should be disabled for next upload.
  15. At the same time, clicking on "Bulk Upload StatusView Report", should take user to bulk upload status dialogue box, where user should see following fields:
    1. Start Time
    2. End Time
    3. Total number of content
    4. Content successfully processed
    5. Content failed
    6. Link to download status report "Download Status Report"
  16. Status report would have following additional fields (apart from input bulk sheet fields) for each row (representing each content)
    1. Upload Status: Success, Fail
    2. Content Do_Id: If success, than do id of the created content
    3. Reason of Failure:  If fail, than reason of failure. In case there are multiple reasons for failure, display each of them by numbering them in the same cell for each row.
  17. Once upload is complete,  "Bulk Upload in Progress" would again change to "Start Bulk Upload"csv file" button will be enabled. Now user can start a new upload.
  18. There will be two complete status, would be rendered depending upon contents upload status:
    1. Completed : When there is no content failure in status report 

    2. Completed with errors : When there are content which got failed because of some error. In this case user to check the details and download status report.

  19. Till the new upload is started, "Bulk Upload StatusLast upload file" will show the status of previous upload.
  20. User would be required to rectify the reason of failure and upload the failed content again.

Alternate Scenario 1:

Upload and

Publish Content (no linking to textbook)

This scenario is uploading content and publishing it only.

Actions:

In this scenario all the actions are similar as for the main scenario, just a difference that in step 87, while uploading bulk upload input sheet, user select bulk upload type as "Create & Publish" from the drop downradio button. In this case, content is created and published on Diksha.

Alternate Scenario 2: Only Upload (no publish content or linking to textbook)

This scenario is uploading content on Diksha only.

In this scenario all the actions are similar as for the main scenario, just a difference that in step 8, while uploading bulk upload input sheet, user select bulk upload type as "Create" from the drop down. In this case content is created and sit in draft stage without publishing and linking to textbook.

Exception Scenarios

Prerequisite:

  1. Before any validation/processing, space trimming should be done for preceding and trailing value of each cell.
  2. Validation must be done before the content creation for each row. For example system should read the entire row, in case any mandatory cell value is missing, fail the content creation for that row and display with error message in status report.  
Srl. No.Error / ExceptionExpected Handling

Validations at the time of bulk sheet upload (Results in Validation Errors)


In case any mandatory column is missing, validation error should be thrown. Mandatory columns: Board, Grade, Medium and Subject, Name of the content, Resource Type, Audience, Author, Copyright, Icon, File Format, File path.

Error Message to Display:

"Following mandatory columns are missing in input sheet: XXX, YYY, ZZZ."


Although "QR code" & "Textbook id" fields are not mandatory but in case user selects upload type as "

Create,

Publish & Link to Textbook", than these fields becomes mandatory and validation error should be thrown in case these columns are missing

Error Message to Display:

"Following mandatory columns are missing in input sheet: QR Code, Textbook Id"


Number of content in input sheet should not be more than 3000. 

Error Message to Display:

Input sheet should not have more than 3000 content.





Validations while processing each row for creating each content (Results in Content Creation Failure)


In case already successfully uploaded content is being uploaded again. Duplication of content shall be checked on the basis of following parameters:

Board , Grade, Medium, Subject , Content Name

System should fail the upload of such content with following error message: "Duplicate Content"  

Validation regarding mandatory fields should be checked while processing each row, in case cell value is missing fail that creation of that content

Error message should be displayed in cell of the column "Reason For Failure" as:

"Following mandatory fields are missing: XXX, YYY."


In case upload type selected as "
Create,
Publish & Link to Textbook" and cell value is missing for column "QR Code" or "Textbook Id" for a particular row. 

System should not even create the content in such case. Refer the prerequisite 2. Error message should be displayed in cell of the column "Reason For Failure" as:

"Following mandatory fields are missing: QR Code, Textbook Id."


Videos should be in mp4 format only.

Error message should be displayed in cell of the column "Reason For Failure" as:

"Invalid video format"


Each content should not be more than 50 mb.

Error message should be displayed in cell of the column "Reason For Failure" as:

"File size is more than 50 MB"


Icons and files to be put in google drive and to share google drive links in the respective field. Please ensure Google Drive links are having view access to all permissions.

Error message should be displayed in cell of the column "Reason For Failure" as:

"Error while accessing file path google link" OR

"Error while accessing icon google link"


Input sheet should not have two content with same following values:

Board, Medium , Grade, Subject, Content Name

In case already created content is found again in further rows of the same input sheet, treat it as duplicate and display following error as reason for failure:

"Duplicate Content"


Multiple contents in one single row is strictly not allowed. Only one content must be shared in one row.

Error message should be displayed in cell of the column "Reason For Failure" as:

"Multiple content values in a single row"


Board, Grade, Medium, Subject and Topic field values should follow the framework/taxonomy of the tenant.

Error message should be displayed in cell of the column "Reason For Failure" as:

"Invalid Board, Grade, Medium, Subject, Topic"







Wireframes

Invision Screenshots: https://docsprojects.googleinvisionapp.com/presentationshare/d/1Qd-2AruRDSPS6pjdSTuUt-oZt6w0bBfnE_ZpYW3gWdQ/edit#slide=id.g5bde35cc17_0_07QST139948N#/screens/374220905 

For Future Release

NA

JIRA Ticket ID

Jira Legacy
serverSystem JIRA
serverId2207a759-5bc8-39c5-9cd2-aa9ccc1f65dd
keySB-12164

Localization Requirements

NA

Telemetry Requirements

Event NameDescriptionPurpose
Click on button "Start Bulk Upload"Parameters to be captured for this events are: Time stamp, user details, event status (fail/success), Reason for failure if any
Click on "Browse" input fileParameters to be captured for this events are: Time stamp, user details, event status (fail/success), Reason for failure if any
Click on "Upload" input fileParameters to be captured for this events are: Time stamp, user details, event status (fail/success), Reason for failure if any
Download of sample template fileParameters to be captured for this events are: Time stamp, user details, event status (fail/success), Reason for failure if any
Click on "Bulk Upload Status" Parameters to be captured for this events are: Time stamp, user details, event status (fail/success), Reason for failure if any
Download of "Status Report"Parameters to be captured for this events are: Time stamp, user details, event status (fail/success), Reason for failure if any
Selection of bulk upload typeParameters to be captured for this events are: Time stamp, user details, event status (fail/success), Reason for failure if any
Download "User Guide"Parameters to be captured for this events are: Time stamp, user details, event status (fail/success), Reason for failure if any







Non-Functional Requirements


Performance / Responsiveness RequirementsLoad/Volume RequirementsSecurity / Privacy Requirements

Every sheet can have maximum 3000 contents which should take approximately 8 hours for creation. 9.6 seconds per content.

Further every content should take 3 sec for publishing, means 2.5 hours approximately for 8000 content to publish.

Hence total in 11 hours, a sheet with 8000 content should be processed (creation + Publish).


Impact on other Products/Solutions

NA

Impact on Existing Users/Data 

NA

Key Metrics

Srl. No.MetricPurpose of Metric