After creating the workflow using the required tasks, the workflow is ready to be built.
Following are the steps to build a workflow:
The color of the tasks notifies the status of each task (success, failed, running, skipped, or queued) as per the color legends shown at the top of the Monitor Run page.
The Triggered By field indicates the event that initiated the current workflow run. This trigger can originate from:
Select any existing builds under Run drop down to view detailed information of the workflow execution.
Build Options
Restarting a workflow can be done in two ways by selecting either of the following options: H2M_LI_HEADER Restart from the failed task : Allows you to restart the workflow from the failed task. In case the workflow has a sub workflow with failed tasks in it, the sub-workflow would also be restarted from the failed tasks. H2M_LI_HEADER Restart from the beginning : Allows you to restart the failed workflow from the beginning, using the same run ID. Even if the failed task is inside a sub workflow, the workflow will restart the parent workflow from the beginning. Here, all children (successful and failed) nodes will also be restarted from beginning along with the parent.
Clicking the Cancel option stops the workflow build at a logical point of the build. It would complete all running tasks and then fail the remaining tasks.
You can now view the task details for individual nodes in the Workflow page. After clicking Run Workflow, click the relevant node to view its task details area. In the task details area, you can download and view the job logs, task logs, and cluster logs for certain nodes like Ingest Source, Sync to Target, and Build Pipeline.
Click the Ingest Source node to view the following details:_ _
Task ID: Task ID of the corresponding workflow task.
Type: Name of the task.
Task State: Status of the workflow run: Success, Running or Failed.
Source Ingestion: A table that displays the following details:
Logs: Links to download or view task logs, job logs, and a table that displays the following details:
Actions: This feature is not supported in 5.1.
Click the Build Pipeline node to view the following details:
Task ID: Task ID of the corresponding workflow task.
Type: Name of the task.
Task State: Status of the workflow run: Success, Running or Failed.
Pipeline Properties: Link to view the pipeline, and a table that displays the following details:
Logs: Links to download or view task logs, job logs, and a table that displays the following details:
Actions: This feature is not supported in 5.1.
Click the Execution Time option to view the time taken to execute each task, as shown below.
You can mouse-over on each task to view more information about that task.
You can click on the eye icon on any task to view task logs and job logs for the selected task.
You can click on the maximize icon on the side panel to view the logs in fullscreen.
Following are the steps to schedule a workflow build:
The Refresh Token can be retrieved by logging in to the user account and navigating to My Profile and clicking on Settings.
6. Select the required option for Recurrence Type and Effective Duration fields. The options available under the Recurrence Type field processes accurately as their names suggest. Effective Duration field allows you to configure the date, time, execution options, and customisations of the respective Recurrence Type field value selected.
For example, suppose that your schedule starts on the 1st of June, and runs every hour from 0900hrs to 1700hrs, and executes every two days. If the scheduler misses the execution at 0900 hrs on the 3rd of June, all the executions for the whole day will be missed. It will try to execute the schedule at 0900hrs to 1700hrs on the 5th of June, and at every two days interval thereafter.
For example, suppose that your schedule starts on the 1st of May, at 0900 hrs, and executes on 30th and 31st of every month. This schedule will execute on the 30th of May at 0900 hrs, and on the 31st of May at 0900 hrs. It will then execute twice on 30th June, as it resets the 31st June Schedule to the last available date in June (ie., the 30th). It will then continue to execute twice on 30th July, and so on thereafter. It is recommended to use the “Last day of the month” option to execute schedules on month-ends to avoid errors.