🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

A Step-by-Step Guide to Running a Workflow from a Scheduled Pipeline

User: "Nico Chart_21517"
Altair Employee
Updated by AltairLiz

You are creating a workflow (or maybe several workflows) in the Altair Analytics Workbench. You plan to schedule these to be run at particular times. Here's how…

First of all, log into the Hub Portal, and under 'Deployment Services', create an Artefact Repository.
For example you may call it "workflow_artefacts".
You have to provide a description before you can press "Save".

Now, in the Workbench:

Create a Project (wizard Altair Project)
The only thing it needs is a name e.g. "workflow_project".

Create a new workflow within the project and give it a filename e.g. Workflow1.wfj.

At the bottom of the workflow canvas, click on "Workflow Settings" and check the box to make it a Hub Project.
You have to supply a "PROGRAM PATH" e.g. "workflow_path".
Save your workflow file.
Note that the project now has an "API" component.

From the context menu choose "Upload to Hub".
Select your previously created Repository.
Enter a "Group". This is just an arbitrary string and it defaults to using your own username, which is okay to leave as-is.
When you press OK your workflow is uploaded to the Hub.

Now you are ready to create a pipeline.
Under 'Manage Pipelines' create a new pipeline and give it a name.
Add a 'Hub Package' node and connect it to the 'Start' node with an arrow.
Edit your 'Hub Package' node and complete the details. Most of them you can select from the drop-downs but the last item "Program" must be typed in. THIS IS THE PROGRAM PATH AS CREATED IN THE WORKBENCH EARLIER! In my example, "workflow_path".

Now you can save and run your pipeline and if you wish, it can be scheduled to be triggered for future executions.

p.s. If your workflow contains a 'Parameter Block', please note that Pipelines don't prompt or support the setting of parameter values for Hub Package nodes.

Find more posts tagged with

Comments

No comments on this post.