ServiceNow - Create Loops in Flow Designer

  Рет қаралды 4,632

Secretary of Simplification

Secretary of Simplification

2 жыл бұрын

Ever wonder how you can add the equivalent of for and while loops in Flow Designer? Well, wonder no more! Do it easily with the "Do the following until" flow logic in combination with flow variables. Let's go!
Do the following until: docs.servicenow.com/csh?topic...
Flow variables: docs.servicenow.com/csh?topic...

Пікірлер: 11
@OneAndOnlyMe
@OneAndOnlyMe Жыл бұрын
Tip: when using pill transforms, use the action annotation to describe the pill transform so that for someone else reading the flow, they will know that the Set Flow Variable action is doing a transform (it's not obvious otherwise).
@secretaryofsimplification
@secretaryofsimplification Жыл бұрын
Fantastic suggestion! But more than that, absolutely necessary. Thanks for the best practice note!
@AMServiceNowDeveloper
@AMServiceNowDeveloper Жыл бұрын
Great video. Please make more videos, love to watch and learn. Thanks :)
@secretaryofsimplification
@secretaryofsimplification Жыл бұрын
Thank you, I will!
@rohitchatterjee9360
@rohitchatterjee9360 Жыл бұрын
Good video
@HotTracksDiecast
@HotTracksDiecast Ай бұрын
Hi, I wonder if you have any ideas how to use low code to make pairs from a list of sysIDs and save them to a match record. ex. I have a list of competitors and I'm trying to make pairs to save to a new Match record like racer1 and racer2. One way I've been trying is. 1st I converted the list to a string by assigning it to a flow variable. then I created an action, and it takes the string and makes it into an array, then I use a script include to create a function where it returns an object like: { "Result": [ "{match=1.0, driver1=1, driver2=3}", "{match=2.0, driver1=4, driver2=2}" ] } but now I'm trying to use this to create a record on the match table, but I'm having issues with the kinds of data types the flow can use, and I'm wondering do I create a new action step or return it to the flow and try to make a loop or a for each. Any help would be appreciated. thanks.
@jayshah8271
@jayshah8271 Жыл бұрын
it is not working for me . I am using san deigo version
@veeravenkatasmulam2094
@veeravenkatasmulam2094 Жыл бұрын
But this is not working in sandiago version. I am getting infinite loop. In the Do Loop, setting flow variable, with subtracting -1 is not working as expected.
@secretaryofsimplification
@secretaryofsimplification Жыл бұрын
I would suggest adding a step after Set Flow Variables to create a log entry, outputting the value of the variable, to confirm its value.
@janhavibabbar9922
@janhavibabbar9922 Жыл бұрын
Is it possible to loop over a string array using flow designer in servicenow? It would be great if I can get some guidance on this...
Do the Following Until Flow Logic in ServiceNow Flow Designer
11:51
Different use cases of Flow Designer
27:24
TechWithPri
Рет қаралды 6 М.
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 23 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 57 МЛН
ServiceNow - Create Custom Themes I
19:03
Secretary of Simplification
Рет қаралды 8 М.
ServiceNow Basic Approval Flow
17:02
Omar Martinez
Рет қаралды 8 М.
D11 - Decision Builder & Decision Table - Flow Designer
15:14
ServiceNowWisdom
Рет қаралды 1,5 М.
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 2,2 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00
WATERPROOF RATED IP-69🌧️#oppo #oppof27pro#oppoindia
0:10
Fivestar Mobile
Рет қаралды 19 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 3,2 МЛН