flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-25-2024 06:44 AM - edited ā09-25-2024 06:58 AM
Hi
I new to flow designer and below is my requriment
The Okta API will lock out the token if it is not utilized for 30 days. We want a schedule flow created that will run a basic Okta function. Create a system property that will hold the test ID we will use for the action
sys properties entry
Name: test user id
Description: User ID used in the Okta API Test flow to verify the Okta Token is valid
value: testuser@expamle.com
Flow scheduled to run every 25 days
Name : Okta API Test
Run AS: System Administrator
Lookup user id held in system property
Call action āIs User Account Lockedā (input user id from previous step)
If the step returns āinvalid tokenā
Generate URL
Record ID: Current flow engine context ID
Table Name: sys flow context
Display: Flow Context Error Record
create and Incident record assigned to the ServiceNow team
Caller: Testnow Automation
Channel: Event
Assigned Group: testNOW
Category: Failure
Configuration Item: TestNow (Business Service Class)
Short Description: Okta Integration failed with Invalid Token
Description: The Okta Integration Keep-alive flow has failed due to Invalid Token
Urgency: 2
Impact: 3
Work Notes: āReview the Context Error Record and take appropriate action. The Token is most likely locked on the Okta Side.
#'Code' output from the generate URL step noted above#ā
i have created the flow designer as per my understanding sharing screenshot for reffernces
for detailed view:i'm having trouble in adding below fields in worknote with the url
Record ID
Table Name
Display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-25-2024 10:50 AM
@Sandeep Rajput @AshishKM experts here.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************