Workflows
- Select Create Workflow from the left-side hamburger menu.
Figure: Create Workflow
- Select the Start Node, choose the
event type as WebApp, fill in the
details as shown in the image, and then click Save.
Figure : Select Web App event
Note: First, use the values shown in the image to create the workflow, and then use the values from the table(List of workflows) for the remaining workflows.
Figure: Enter the WebApp details.
Workflow name: indexArticles
Description: Performs indexing on hourly basis
-
Select the Code-Based icon, then choose the Action button as shown below.
Figure 1. Action Icon
- After opening the Action node, click the Functions dropdown menu and select the
indexArticles function. Then click Save.
Figure 2. Select indexArticles function
- Connect the Start node to the Action node using the connectors, as shown in the image
below and click on save.
Figure 3. Connect Start to Action
- Repeat the above steps to set up workflows for the other functions using the values mentioned below.
| Event Type | Workflow Name | Workflow Description | Function Name to Select |
| Webapp | MachineList | Fetches machine list | MachineDropDown |
| Webapp | VaultList | It fetches a list of Vault Credentials from HCL BigFix Runbook AI. | VaultdropDown |
| Webapp | CustomCredList | It fetches a list of Custom Credentials | ContainerDropDown |
| Webapp | CreateRunbook | Creates a runbook based on generated ansible script and available parameters. | CREATE_RUNBOOK |
| Webapp | getInventory | – | getInventory |
| Webapp | getProjects | – | getProjects |
| Webapp | ExecutionEnvLis | Fetch execution environment list | getExecutionEnvironmentList |
| Webapp | SimilarArticles | It fetches similar articles based on ticket description. | SHOW_SIMILAR_ARTICLES |
| Webapp | PublishArticle | It publishes the generated article to ServiceNow. | ADD_ARTICLE |
| Webapp | documentSumarze | – | iAUomateDocumentSummarize |
| Webapp | PlaybookSOPGen | Generates the SOP based on the playbook provided | PlaybookSOPGen |
| Webapp | articles | It fetches know knowledge articles from collection and returns the formatted output. | GET_INDEXED_ARTICLES |
| Webapp | ansibleGenerate | – | iautomateAnsibleGenerate |
| External | indexTickets | Fetches tickets from ServiceNow and performs indexing. | INDEX_TICKETS ( Select executable Job and then this function) |