Flow Designer - Add Info Message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019 04:54 PM
Hi all,
I have a flow that will detect if an incident has 5 child incidents, and that will in turn create a problem. I have this working well, however, a new requirement has surfaced - the user may not know that they have activated the creation of a ticket.
With a BR this is easy, just use gs.addInfoMessage. Cannot work out how to do it with Flow designer.
I have attempted to create my own action, that is a script that has the gs.addInfoMessage in it, however, this no info message appears at the end of the sequence.
Here is theflow:
And here is the custom action:
As you can see, I am just testing with straight text first before getting smart with the input parameters, but no dice. Does anyone have any ideas?
Cheers, Brendan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019 09:36 PM
Hi,
Instead of gs.addInfoMessage() you can use alert functionality from input .
https://community.servicenow.com/community?id=community_blog&sys_id=af1c919edb1f67406c1c02d5ca961908
Thanks
Sayali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019 10:59 PM
Hi Sayali,
Thanks for replying. I took a look at the link you provided, however, it looks like that is referring to the Alert Managment module as part of Event Management, and not a javascript alert.
Or am I miss interpreting it?
Cheers, Brendan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019 12:08 AM
Hi,
https://developer.servicenow.com/app.do/app.do#!/lp/servicenow_application_developer/app_store_learnv2_flowdesigner_madrid_scripting_with_flows_subflows_and_actions?v=madrid
Above is example where addInfoMessage() is used. Hope this will help you
Thanks
Sayali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2022 10:44 AM
That page no longer exists. Does anyone have a link showing an example of using addInfoMessage() in Flow Actions for a current release of ServiceNow?