- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 06:46 AM
Hi,
There is a list type field called "Agent" which stores list of users. I wanted to send a notification to each individual separately via flow design.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 07:40 AM
Hi @Aruna Sree Yela,
To send notifications to each individual user in a list-type field called "Agent" separately via Flow Designer in ServiceNow, you can create a flow that iterates through the list of users and sends a notification for each user. Here's a high-level outline of the steps you can take:
1. **Create a New Flow:**
- In the ServiceNow platform, navigate to "Flow Designer" under "Automation."
- Create a new flow to initiate the notification process.
2. **Define the Trigger:**
- Add a trigger that initiates the flow based on the desired event, such as a record being updated or created.
3. **Query the List of Agents:**
- Add a "Query" action to retrieve the list of users from the "Agent" field for the relevant record.
4. **Iterate Through the List:**
- Add a loop action (e.g., "For Each" or "Iterator") to iterate through the list of users obtained in the previous step.
5. **Send Notification for Each User:**
- Within the loop, add an "Action" to send a notification to the current user in the iteration. Use the "Send Notification" action and configure it with the necessary details such as recipient, message, subject, etc.
- Utilize the current user from the loop iteration as the recipient for the notification.
6. **Complete the Flow:**
- After the loop, complete the flow with any additional actions or conditions based on your requirements.
7. **Activate the Flow:**
- Once you've configured the flow, activate it to make it operational.
Trigger: Record is Updated
Action 1: Query List of Agents from the current record
Action 2: For Each Agent in the list:
- Send Notification to Agent
```
Make sure to customize the actions, conditions, and notification content according to your specific use case and notification requirements.
If you found this reply useful, please mark this solution as solution/helpful.
Thanks and Regards,
Ehab Pilloor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 07:47 AM
@Aruna Sree Yela This is how you should configure your flow.
Your flow should trigger when the state changes to 'returned'.
2. You should use a For loop and loop through the items in the Agent field. Dot walk to the email field on agent record and add the email to to field in Send email action.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 06:59 AM
@Sandeep Rajput It is in custom table and when the state is "returned", the agents should get notification

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 07:47 AM
@Aruna Sree Yela This is how you should configure your flow.
Your flow should trigger when the state changes to 'returned'.
2. You should use a For loop and loop through the items in the Agent field. Dot walk to the email field on agent record and add the email to to field in Send email action.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 07:40 AM
Hi @Aruna Sree Yela,
To send notifications to each individual user in a list-type field called "Agent" separately via Flow Designer in ServiceNow, you can create a flow that iterates through the list of users and sends a notification for each user. Here's a high-level outline of the steps you can take:
1. **Create a New Flow:**
- In the ServiceNow platform, navigate to "Flow Designer" under "Automation."
- Create a new flow to initiate the notification process.
2. **Define the Trigger:**
- Add a trigger that initiates the flow based on the desired event, such as a record being updated or created.
3. **Query the List of Agents:**
- Add a "Query" action to retrieve the list of users from the "Agent" field for the relevant record.
4. **Iterate Through the List:**
- Add a loop action (e.g., "For Each" or "Iterator") to iterate through the list of users obtained in the previous step.
5. **Send Notification for Each User:**
- Within the loop, add an "Action" to send a notification to the current user in the iteration. Use the "Send Notification" action and configure it with the necessary details such as recipient, message, subject, etc.
- Utilize the current user from the loop iteration as the recipient for the notification.
6. **Complete the Flow:**
- After the loop, complete the flow with any additional actions or conditions based on your requirements.
7. **Activate the Flow:**
- Once you've configured the flow, activate it to make it operational.
Trigger: Record is Updated
Action 1: Query List of Agents from the current record
Action 2: For Each Agent in the list:
- Send Notification to Agent
```
Make sure to customize the actions, conditions, and notification content according to your specific use case and notification requirements.
If you found this reply useful, please mark this solution as solution/helpful.
Thanks and Regards,
Ehab Pilloor