Configure Flow Designer to manage the integration
- UpdatedFeb 1, 2024
- 3 minutes to read
- Washington DC
- Now Platform Security
On your instance, use Flow Designer to manage an integration between your local network and your instance.
Before you begin
Role required: admin, KMF_admin, sn_secrets.secret_manager, and sn_kmf.cryptographic_manager
In these steps, you create a Flow Designer workflow to create a text file on your local system.
Procedure
- On your instance, navigate to All > Process Automation > Flow Designer.
-
Create an action in ServiceNow by selecting New and selecting Action.
- Enter a name in the Action name field, and select Submit.
-
Create a step by selecting the plus sign between Inputs and Error Evaluation in the Action Outline.
-
In the Choose a step to add to your action window, select Look Up Record.
- In the Look Up Record step section, select MID Server [ecc_agent] in the Table field.
- Create another step by selecting the plus sign under your Look Up Record step.
-
In the Choose a step to add to your action window, select SSH.
Note: If you don't see the SSH option, you must activate the required plugin.
-
In the SSH Step section, enter the following information:
Field Value Connection Select Define Connection Inline Credential Alias Select the credential alias for the SSH credential that was created in earlier steps. Host Enter the IP address for the host that you're connecting to via SSH. Port Enter 22. MID Selection Select Specific MID Server. -
To fill the MID Server field, drag the MID Server Record pill from the Data section into the field.
Warning: When dragging the pill into the field, select the pill and not the black arrow next to the pill.
-
In the SSH Configuration section, enter the following value into the Command field.
/bin/date > sm_ig_text_file.txt
This command creates a text file in your local system using the decrypted secrets from the MID Server. The MID Server grants access to the ServiceNow instance (through Flow Designer) without ever giving the ServiceNow instance access to the decrypted secret.
Tip: The/bin/date
command is inserting the current date/time into the created text file. This command demonstrates that the integration is happening in real time based on the current date/time versus when the text file was created. - Select the Save button to save the workflow.