- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2021 03:30 AM
Hi guys,
In flow designer, my trigger is Created or Updated. I would like to post something in the work notes depending on what's been triggered.
Example:
If insert/create = add vendor incident number to the work notes
If update = do nothing
Thanks in advance
Regina
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2021 03:53 AM
You could use an IF statement and use the sys_mod_count field to determine if it's a creation as the field will be 0 on creation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2021 03:53 AM
You could use an IF statement and use the sys_mod_count field to determine if it's a creation as the field will be 0 on creation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2021 04:25 AM
Why didn't I think of that!
Thanks Kieran, worked like a charm 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2021 04:12 AM
As per your question it seems you want to run flow only during insertion since you want to do nothing when it's an update.
If you only want flow to run during insertion
Flow Trigger - Record Created
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader