# Workflow Jobs

The **Workflow Job** module in Infraon NCCM automates downloading OS vulnerability details from the Cisco and NIST databases. It is a privilege-based feature, allowing users to access, add, edit, delete, execute, and export workflow jobs only if the administrator assigns them appropriate roles and privileges.

This module supports tasks such as downloading vulnerability data, OS versions, EOX status (for Cisco devices), and automating processes based on a configured schedule.

## **What you see on the screen**

The **Workflow Jobs** module page displays a comprehensive list of workflow jobs added to NCCM, showcasing key details such as job name, status, action time, schedule information, creator, last modified by, and more. Additionally, the page provides various action keys with the following functionalities:

**Workflow Jobs |** Basic Details |

<table data-header-hidden><thead><tr><th width="196"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Label</strong></td><td><strong>Action</strong></td><td><strong>Description</strong></td></tr><tr><td>Search</td><td>Use to search for specific workflow jobs by name, IP address, or other identifiers.</td><td>For example, search for "Cisco VA Check."</td></tr><tr><td>Filter</td><td>Apply filters based on fields and conditions from the dropdown menu.</td><td>Fields include Job Name, Job Type, Status, and Business Hours. Conditions include in or not in.</td></tr><tr><td>Feature Diagnosis</td><td>Diagnose features like Cisco Vulnerability, NIST Vulnerability, Cisco NewOS, and Cisco EOX. Select a feature and click Test to proceed.</td><td>It displays details such as Worker ID, Task Name, Queue Name, Task Status, and Results and ensures API reachability for workflow job execution.</td></tr><tr><td>Add</td><td>Click to create a new workflow job.</td><td>Opens a pop-up window to input the required details for creating a job.</td></tr><tr><td>Edit</td><td>Select a job and click to open the workflow job editor.</td><td>Make changes to the job details and click Submit to save.</td></tr><tr><td>Delete</td><td>Select one or more workflow jobs and click DELETE to open the confirmation dialog.</td><td>Confirm the deletion by clicking YES or cancel the operation by clicking NO.</td></tr><tr><td>Execute Now</td><td>Select one or more workflow profiles and click to immediately initiate a vulnerability check.</td><td>Use the "Execute Now" option to trigger immediate vulnerability checks outside the regular schedule.</td></tr><tr><td>Enable</td><td>Check the box to enable a workflow profile.</td><td>Updates the status to reflect the enabled state.</td></tr><tr><td>Disable</td><td>Check the box to disable a workflow profile.</td><td>Updates the status to reflect the disabled state.</td></tr></tbody></table>

## **Add Workflow Job**

To add a new workflow job, click the **plus (+) icon** at the page's top-right corner. Fill in the following details:

**Add WorkFlow Jobs |** Basic Details |

<table data-header-hidden><thead><tr><th width="189"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Label</strong></td><td><strong>Action</strong></td><td><strong>Description</strong></td></tr><tr><td>Workflow Job Name</td><td>Enter the workflow job name in the text box.</td><td>This represents the name of the job profile.</td></tr><tr><td>Description</td><td>Provide a description in the text box.</td><td>Briefly describe the purpose of the workflow job.</td></tr><tr><td>Job Type</td><td>Select the job type from the dropdown menu.</td><td>Examples: Cisco Vulnerability, NIST Vulnerability, Cisco NewOS Detection, Cisco NewOS Download, Cisco EOX.</td></tr><tr><td>Status</td><td>Click to enable or disable the workflow job profile.</td><td>Enables or disables the job functionality.</td></tr><tr><td>Business Hours</td><td>Choose the applicable business hours from the dropdown list.</td><td>Business hours are defined in the organization's inventory.</td></tr><tr><td><strong>Schedule Execution</strong></td><td></td><td></td></tr><tr><td>Execute Now</td><td>Select this option to immediately execute the job.</td><td>Triggers the workflow job without waiting for the schedule.</td></tr><tr><td>Schedule</td><td>Choose a schedule for the job execution.</td><td>Options: Once, Every, Daily, Weekly, or Monthly, with specific date and time inputs.</td></tr></tbody></table>

Once all the details are entered, click **Submit** to save and finalize the workflow job.

{% hint style="info" %}
**Note:**

* Vulnerabilities will be downloaded based on the schedule and configured in the Workflow.
* Vulnerable download will be initiated based on the Job start & End date.
  {% endhint %}
