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
02-21-2022 10:50 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
No, you can't do it using flow designer because flow designer works in background.
You can use display BR or Onchange client script.