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

Nevermind, I found the current version of that article. It's NOT an example of using addInfoMessage() in a Flow Action; the addInfoMessage() is in a script that calls a Flow Action outside of Flow Designer ... like from a BR, which we already know works.

Hey Wayne, did you ever find a solution to this problem? I could think of workarounds (set a checkbox helper field to true and display the error message based on that field), but doing it directly in the flow would feel a lot better.

Syed14
Mega Guru

No, you can't do it using flow designer because flow designer works in background.

You can use display BR or Onchange client script.