Workflow.create
Workflow.create([{ description, isPublic }]) → Promise<Workflow>
Creates the workflow, owned by its user or organization.
If the workflow was constructed from a qualified reference such as redivis.workflow('owner.my_workflow'), which doesn't say whether the owner is a user or an organization, the owner is resolved to an organization if one exists with that name, and otherwise to a user.
Parameters:
description : string, optional
A description of the workflow.
isPublic : boolean, default false
Whether anyone can view the workflow. Viewers can still only see data derivatives that they have access to.
Returns: Promise<Workflow>, this workflow.
Example:
const workflow = await redivis.user('jane').workflow('my_workflow').create({
description: 'Analysis of the iris dataset',
});
await workflow.datasource('demo.iris_species').create();Was this helpful?

