Skip to main content
Skip table of contents

ServiceNow Actions

Actions for ServiceNow

  • Create ServiceNow Assets (IRE API). Creates one or more new configuration items (CIs) in ServiceNow.

  • Create/Update ServiceNow Assets (IRE API). Creates one or more new configuration items (CIs) in ServiceNow. If the one or more of the CIs already exist, this action updates the existing CIs.

Use Cases

Below are the possible use cases for the ServiceNow actions:

  • Create ServiceNow Assets (IRE API). You could use this action to create a new CI in ServiceNow for previously unknown assets that were discovered by Lucidum.

  • Create/Update ServiceNow Assets (IRE API). You could use this action to update asset records when a user is offboarded, to prevent unauthorized access.

Prerequisites

Before you can execute the actions for ServiceNow, you must create a ServiceNow user account with the following roles:

  • itil

  • rest_api_explorer

  • web_service_admin

For details on creating a user in ServiceNow, see https://docs.servicenow.com/bundle/tokyo-platform-administration/page/administer/users-and-groups/task/t_CreateAUser.html

For details on assigning roles to a user, see https://docs.servicenow.com/bundle/tokyo-platform-administration/page/administer/users-and-groups/task/t_AssignARoleToAUser.html

Workflows

ServiceNow Configuration

  • Configuration Name. Identifier for the Configuration. This name will appear in the Lucidum Action Center.

  • Host. The hostname or IP address of the ServiceNow server.

  • User name The user name for a user account that has read and write permissions in ServiceNow.

  • Password. The password associated with User Name.

  • Class Name. Specify the name of the CI class where the new or updated asset resides.

Create or Edit an Action

To create an action for ServiceNow:

  1. In the Create a New Action page, in the General step, enter:

    • Action Type. Select an action from the pulldown options.

    • Configuration Name. Select an action configuration from the pulldown options.

    • Action Name. Identifier for the action. This name will appear in the Lucidum Action Center.

    • Description. Description of the action.

  2. Click the Next (>) icon.

  3. In the Filters page, click Configure Filters.

  4. The Configure Filters for Action page appears.

  5. In the Configure Filters for Action page, you define the query for the assets or users that the action will act upon. For existing actions, the query is already loaded in this page.

  6. For details on creating and editing queries in Lucidum, the section on Building Queries.

    NOTE: To optimize performance, the default time range is Current. If you need to access historical data, contact Lucidum Custom Success for help on using historical data without affecting performance.

  7. Click the Apply (page and pencil) icon.

  8. Click the Apply (page and pencil) icon.

  9. Click the Next (>) icon.

  10. In the Schedule step, enter:

    • Schedule Type. Define the schedule for the action. Choices are:

      • Recurrence. Specify a frequency for the recurring schedule.

      • After Data Ingestion. The action is executed after data ingestion, which happens at least once every 24 hours and can also be triggered manually.

    • Do not trigger the action unless. Specify the number of results from Filters as a prerequisite for executing the action.

  11. Click the Next (>) icon.

  12. In the Details step, enter the following:

    • Output Fields. For the records selected with the Filters field, specify the columns to display. When creating or editing the query, you can select these fields in the Query Results page > Edit Column button.

    • CMDB CI Table Name. Specify the CMDB CI table name where the new or updated asset resides.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.