Flow Designer How to remove a user sysID from a list (List collector) in a table

Benji90
Tera Contributor

Hi there, 

 

I currently have a use case where I need to be able to add/remove a user from a custom list collector variable field via Flow designer (Triggered via a catalog item).

 

I've managed to get the 'add' working of a user by looking up the existing list collector field setting it as a variable then adding the users sysID and writing it back into the list collector field.

 

I am not sure on how to do the 'remove' process in flow designer.

 

I am a low code user any help is much appreciated!

3 REPLIES 3

PrashantT
Giga Guru

Hi @Benji90,

Can you elaborate the requirement so that I can provide the handy code to achieve this.

Ankur Bawiskar
Tera Patron
Tera Patron

@Benji90 

to add/remove simply update the backend table where variables are stored.

sc_item_option_mtom table stores all the variable associated with RITM, you can use lookup action in flow designer and can update the variables value in "sc_item_option"

check this link where I shared solution

How to attach new created contract record number in RITM Variable 

 

AnkurBawiskar_2-1751536148849.gif

 

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Benji90 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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