Enable file upload triggers that allow users to import csv/json files to process a workorder
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
A file upload trigger is one which allows users to import their data and manually trigger a run from the workflow canvas. This trigger should be able to take json or csv formatted files as input data. When the data is in a csv format, the data will be transformed to json input dataclip for the new workorder to be processed.
When the user selects this trigger, we want the user to upload a file and click on a button to run the workflow or create a new workorder.
Acceptance criteria:
- Users should be able to add a new file upload trigger
- This new trigger can be enabled or disabled
- Users should be able to import a json or csv files as input data using a file picker that also allows a drag and drop
- Imported CSV data gets transformed into json and converted into input dataclip
- A new work order is created when a "Run workflow" button is clicked.
Considerations:
In this iteration, we will only support CSV and JSON but in the future, we might be able to support other data formats xml, tsv, et.c
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing trigger configuration, workflow canvas controls, and workorder creation flow in the repository. Done means users can add, enable, and disable the file-upload trigger, import CSV or JSON through file selection or drag-and-drop, transform CSV input into a JSON dataclip, and create a workorder from the Run workflow action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- backend, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100