Flow Designer - Add Info Message

Brendan Hallida
Kilo Guru

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:

find_real_file.png

And here is the custom action:

find_real_file.png

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

7 REPLIES 7

sayali udgave
Kilo Guru

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

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

sayali udgave
Kilo Guru

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

 

 

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?