Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Seperate comma seperated sys ids

joshmorris
Tera Guru

In a flow, I have done a lookup records action in a flow which returns a list of sys ids seperated by a comma. How do I seperate these sys ids so I can do an individual lookup of each one?

2 ACCEPTED SOLUTIONS

Ehab Pilloor
Giga Sage

Hi @joshmorris,

 

After Look up records action, you can use Flow logic For Each to go into individual look up

EhabPilloor_0-1789547516416.png

An example of usage:

EhabPilloor_1-1789547566727.png

 

Please Accept this response as Solution if it assisted you with your question & Mark this response as Helpful.

 

Kind Regards,

Ehab Pilloor

 

View solution in original post

Ankur Bawiskar
Tera Patron

@joshmorris 

why you want to manually separate?

The output of Lookup records can be an input to "For Each" and you can iterate individual records

what's the challenge in using that?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Ehab Pilloor
Giga Sage

Hi @joshmorris,

 

After Look up records action, you can use Flow logic For Each to go into individual look up

EhabPilloor_0-1789547516416.png

An example of usage:

EhabPilloor_1-1789547566727.png

 

Please Accept this response as Solution if it assisted you with your question & Mark this response as Helpful.

 

Kind Regards,

Ehab Pilloor

 

Ankur Bawiskar
Tera Patron

@joshmorris 

why you want to manually separate?

The output of Lookup records can be an input to "For Each" and you can iterate individual records

what's the challenge in using that?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader