Can we use gs.addInfoMessage in an async Business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2015 09:35 AM
I am creating a business rule and running it asynchronously. Can I use gs.addInfoMessage in it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2020 12:59 AM
Hi Berny,
Is there any way to run the gs.addInfoMessage() from async business rule?
Thanks,
Ankit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2020 10:16 AM
Hi Ankit,
I don't think gs.addInfoMessage() will work in a async business rule. Think about it as a "onAfter" business rule that runs in the background whenever it cans. In other words, displaying a message in a async business rule doesn't really help. If it's tied to a given user transaction you should rather set the message in a different type of business rule.
Thanks,
Berny