- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2025 05:56 AM
Hi everyone,
I’m trying to add a tag to the Tags field in the Alert [em_alert] table using a script in subflow. Could someone please help me with the correct script or method to do and use in subflow.
I’d appreciate it if you could also explain
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2025 12:47 AM - edited 06-09-2025 12:58 AM
Hello @Snowl13052025
Please follow the below steps and i hope this work for you and if any think else please let me know
1.Create a flow to call the subflow .
2.Create a subflow to write a script in custom action(pass input as alert record sysId) as per your requirement.
3. Created a custom action for the script logic and create a tag to associate with particular created alert.
take input of record sys_id
and script logic that create the tags(that store in label table)
this above is for the script logic and if you want to use flow actions you can also do by using the flow action to create the tags so you did not need to write the script logic and all.
please refer the below you Tube video better idea
https://www.youtube.com/watch?v=gpanlZsAq0w
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2025 12:47 AM - edited 06-09-2025 12:58 AM
Hello @Snowl13052025
Please follow the below steps and i hope this work for you and if any think else please let me know
1.Create a flow to call the subflow .
2.Create a subflow to write a script in custom action(pass input as alert record sysId) as per your requirement.
3. Created a custom action for the script logic and create a tag to associate with particular created alert.
take input of record sys_id
and script logic that create the tags(that store in label table)
this above is for the script logic and if you want to use flow actions you can also do by using the flow action to create the tags so you did not need to write the script logic and all.
please refer the below you Tube video better idea
https://www.youtube.com/watch?v=gpanlZsAq0w
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2025 11:28 PM
Thank you for your time @Sanjay191 😊