Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

(info) NOTEThe flow_designer role is required for you to create and edit a Flow in Servicenow. Ensure that you have at least the flow_designer role before proceeding.


Procedure

To configure the Flow Designer provided with the Perspectium Spoke application, follow these steps:



UI Steps


UI Step

Access Share Records Flow Designer 

Go to Flow DesignerUnder the Flows section, click on Share Records. This Flow is a skeleton with some basic logic for sharing out records.


UI Step

Create a Trigger 

UI Steps
sizesmall


UI Step

Click Select to add a Trigger. Add a Trigger on Record Created, Record Updated, or Record Created or Updated.


UI Step

Select the Table to share records from.


UI Step

If applicable, for the Run Trigger option, select Only if not currently running. Then, click Done.

(info) NOTE: This option performs the workaround for London+ releases where Flows are not triggered by Journal Entry updates.  Only if not currently running ensures the Flow is triggered for every unique change, including the addition of comments and work notes. More information about the trigger types is available here.



UI Step

Configure Post Message Action

The Post Message Action is the Flow Designer component that is responsible for sharing out a record to the Perspectium Integration Mesh. When a record triggers the custom Flow, Post Message Action builds a message containing the record to share out to the Perspectium Integration Mesh.

UI Steps
sizesmall


UI Step

Click on the Action 1 in the Flow, the Post Message step.


UI Step

Use the Data Pill Picker to fill in the Table Name, Sys ID, and Journal Fields slots. 

For Table Name, click on the Data Pill Picker symbol to the right of the Table Name slot to open the flyout. Click on Trigger, then select the Table option, which will contain the name of the table that is being used to trigger the Flow.

For Sys IDclick on the Data Pill Picker symbol to the right of the Sys ID slot to open the flyout. Click on Trigger, then select the arrow on the Record option. From the list of record elements, select the Sys ID option.

(Optional) For Journal Fields, click on the Data Pill Picker symbol to the right of the Journal Fields slot to open the flyout. Click on Trigger, then select the Changed Fields option. This will allow comments and work notes to be shared out in the record payload.


UI Step

(Optional) If the records need to be shared in Perspectium’s Common Document format, check the Share as Common Document box. Tables supported in Common Document format for the Perspectium Spoke are Change Request, Incident, Problem, Request, Requested Item, and Task.


UI Step

(Optional) If work notes need to be shared out as well, check the Share Work Notes box.



UI Step

(Optional) Set up Email Notifications