Magnit Spoke

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 2 minutes to read
  • The ServiceNow® Magnit spoke pulls contingent workers from the Magnit application into a ServiceNow instance and creates onboarding tasks for those contingent workers from a ServiceNow instance.

    Integration Hub subscription

    This spoke requires an Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview.

    Spoke version

    Magnit spoke v 1.1.0 is the latest version.

    Spoke dependencies

    If you’re having trouble installing the app, ensure that these dependent plugins are installed:
    • Complex Object (com.glide.cobject)
    • ServiceNow IntegrationHub Runtime (com.glide.hub.integration.runtime)
    • ServiceNow Flow Designer - Dynamic Inputs (com.glide.hub.dynamic_inputs)
    • ServiceNow IntegrationHub Action Step - REST (com.glide.hub.action_step.rest)
    • ServiceNow IntegrationHub Action Template - Data Stream (com.glide.hub.action_type.datastream)
    Note:
    Some of these plugins are licensable features and require appropriate licenses, if used outside the spoke implementation.

    Spoke actions

    The Magnit spoke actions are used to pull data from a Magnit application into a ServiceNow instance. Available actions include:

    Action Description
    Look Up Correlation ID for Delta Pull Fetches the correlation ID for a delta pull. This action is handled from the Magnit application end.
    Look Up Correlation ID for Full Pull Fetches the correlation ID for a full pull. This action is handled from the Magnit application end.
    Look up Contingent Workers Stream Look Up Correlation ID for Delta Pull or Look Up Correlation ID for Full Pull is passed through the Look up Contingent Workers Stream action to pull full data or partial data.

    Script includes installed

    These script includes are installed with the Magnit application.

    Table 1. Script includes for Magnit
    Script include Description
    MagnitErrorHandler Error handler script for the Magnit spoke actions. For example, contains an error message that must be displayed when an action fails.
    MagnitUtil Utility functions for the Magnit spoke actions. For example, validating the mandatory inputs.

    Edit Magnit OAuth

    Automatically create application registry, credentials, and connections by editing the Magnit OAuth form.

    Before you begin

    • Request an Integration Hub subscription.
    • Activate the Magnit spoke.
    • Role required: admin.
    Note:
    A default record of Connection & Credential aliases is available on activating the Magnit spoke.

    Procedure

    1. Navigate to All > Connections & Credentials > Connection & Credential Aliases.
    2. Open the record for the Magnit spoke.
    3. Click the Create New Connection & Credential related link.
    4. In the Create Connection and Credential record window, fill in the fields:
      Field Description
      Connection Name Name to uniquely identify the connection record.
      Connection URL URL of the Magnit instance.
      Credential Name Name to uniquely identify the credential record.
      OAuth Name Name to identify the application registry record.
      OAuth Client ID Client ID that is received from Magnit.
      OAuth Client Secret Client secret that is received from Magnit.
      OAuth Token URL Token Generation URL
    5. Click Create and Get OAuth Token.
    6. Enter Username and Password.
    7. Click Get OAuth Token.