Update field without deleting

Lidi2115
Tera Contributor

Hi,

 

I have a list type field called "event participants" and I need this field to be updated with the name of the last registrant that will be informed in another field in the table but without the name of previous participants being deleted.

Can I do this in the flow designer?

2 ACCEPTED SOLUTIONS

AnubhavRitolia
Mega Sage
Mega Sage

Hi @Lidi2115 

 

You can implement it using both Business Rule and Flow Designer also with condition as 'Registrant is changed' with code as below:

 

current.u_event_participants = current.u_event_participants + ',' + current.u_registrant;
current.update();

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

View solution in original post

_willians
ServiceNow Employee
ServiceNow Employee

Why don’t you use a journal type field for it? 

 

View solution in original post

2 REPLIES 2

AnubhavRitolia
Mega Sage
Mega Sage

Hi @Lidi2115 

 

You can implement it using both Business Rule and Flow Designer also with condition as 'Registrant is changed' with code as below:

 

current.u_event_participants = current.u_event_participants + ',' + current.u_registrant;
current.update();

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

_willians
ServiceNow Employee
ServiceNow Employee

Why don’t you use a journal type field for it?