Split List
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 02:56 AM
Hi
I have list and I need to check if on of the option in the list is like the value in the field .
if the current.u_stream.name = ps . I need to put the man how have this option in assigned to
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 03:37 AM - edited 02-06-2024 03:39 AM
Hi @Yahav Mor
From what i can understand you iterating through each member of the group and if the member has any sap modules support that matches the one in the record assign it to that member. Please confirm if my understanding is correct.
If it is and the log(stream) is a string value. you can split the string - stream.split(",") to get a array of the modules and then match each module of the array (or use Array.includes()) with the current.u_stream.name and then assign it.
If my answer helped you in any way, please then mark it as helpful or correct.