Create a Task Workflow for exported Tool
-
Now that you've exported a Prompt studio project, let's create a Workflow that we'll launch as an Task pipeline. First off, let's create a new empty Workflow:
- From the side navigation menu, choose
Workflows
🞂New Workflow
. This should bring up the new Workflow dialog: - For
Workflow Name
enter any name for your workflow. - For
Description
enter some detail about the type of workflow. - Click on
Create Workflow
. This should land you in an empty workflow in the Workflow Studio, which allows you to build sophisticated workflows.
- From the side navigation menu, choose
-
Let's configure the workflow.
- Input Configuration: To build an Task Pipeline, choose
File System
from this list and click on the settings button near the dropdown and configure the input file system - Output Configuration: To build an Task Pipeline, choose
File System
from this list and click on the settings button near the dropdown and configure the input file system - Tools Pane: this pane lists all built in and user created custom Tools available in the platform. Prompt Studio projects you export are made available as Tools in this pane from where you an drop and drop them into the Workflow Chain to construct Workflows you want.
- Workflow Chain: Search for your prompt studio exported project under
Tools
, and drag and drop it in the workflow container(in between Input and output configuration) - Tool Settings Pane: This is where settings for various tools are made available. You'll need to select a Tool from the Workflow Chain in order to change the settings of Tools from here.Below is the detailed screenshot for point no.5
- Deploy As Task Pipeline: use this button to deploy workflows as unstructured data Task Pipelines.
- Input Configuration: To build an Task Pipeline, choose
-
Now, click on the
Deploy As Task Pipeline
button and you should see a dialog pop up:- For
Display Name
enter the name for the Task pipeline. - In
Cron Schedule
choose the time at which your Task pipeline needs to be triggered.It should in UTC time.
- For
-
Once you deployed the Task pipeline, it will automatically trigger at the configured time.
- For
Execution logs
Click on Task Pipeline-->Actions button of your Task-->View Logs
info- Once the file is processed in Task pipeline, it will be cached. To run the cached file again,
Clear cache
andClear Processed File History
under Task Pipeline-->Actions button of your Task. - To trigger the Task pipeline manually, click on
Manual Sync
under Task Pipeline-->Actions button of your Task.
- For