Skip to main content
Question

PLSQL procedure for show success, info, warning notifications

  • Mar 5, 2026 5:27 AM UTC
  • 12 replies
  • 207 views

Forum|alt.badge.img+5

In the client file, we can show success, info or warning pop-up messages using functions like

  • info("Some Info.");,
  • warning("Action was cancelled"); 
  • success("Success!");.

 examples

Similarly, I want to show such messages from a PL/SQL procedure. Is there an already created PL/SQL procedure for this, or how can I do it?

For errors, I found the Error_Sys package. However, I also need a way to show success, info, and warning messages.

Error_SYS.Record_General

Thank you!

12 replies

Forum|alt.badge.img+17
  • Superhero (Partner)
  • Mar 5, 2026 9:14 AM UTC

Hi ​@pdollk 

 

Client_SYS.Add_Info or Client_SYS.Add_Warning but it has limited use.


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Employee)
  • Mar 6, 2026 4:50 AM UTC

Hi ​@knepiosko ,

Thank you for your reply. What I want is to call a PL/SQL procedure through a BPA workflow and show an info or warning banner. I already tested this using a workflow, but nothing pops out.

In the technical documentation, it says that Client_SYS.Add_Info adds an information message to the stack. Client Information - Technical Documentation For IFS Cloud

Does this require additional client-side development to display the message as a notification or banner in the UI?


Forum|alt.badge.img+12
  • Hero (Customer)
  • Mar 8, 2026 6:10 PM UTC

Add_Info will be shown (as an Info message, so a blue message) as long as the method you’re calling (from a projection action) has the parameter supportwarnings = [true];

 

These actions are linked to PLSVC Methods that will be generated with an  info$_ OUT parameter.

 

You can assign a value to this OUT variable and it will then be displayed in the client once the Method has finished running.

 

Here’s an example:

 

 

 

I don’t know if it’s possible to do this through BPA though, never tested that.

 

 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Employee)
  • Mar 10, 2026 2:54 AM UTC

Hi ​@SimonTestard ,

Thank you for the reply. Here is what I have done so far.

.projection

.plsvc

workflow

projection action for workflow trigger

 

But when I update a locality record, nothing happens. Do you have any suggestions?

thank u.


Forum|alt.badge.img+12
  • Hero (Customer)
  • Mar 10, 2026 7:30 AM UTC

just as a quick test could you try and make sure to use a translate key in the errror message ?

 

so like “lu_name_, ‘KEYTEST: Sample Info Message’


Forum|alt.badge.img+12
  • Hero (Customer)
  • Mar 10, 2026 7:32 AM UTC

(Also, If you open Devtools, can you see the projection action being called at all?)


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Employee)
  • Mar 10, 2026 8:25 AM UTC

Hi ​@SimonTestard ,

Thank you for your support. I changed the .plsvc file as you asked, as shown below, and it was deployed successfully to the database.

and the workflow is triggering correctly,

but no Info message is displayed. 😶


Forum|alt.badge.img+12
  • Hero (Customer)
  • Mar 10, 2026 8:31 AM UTC

It’s very possible that this sort of thing is not supported by BPA.

 

If you try to create a Command that calls the  same action, is the Info Message displayed? If so, it probably means the framework doesn’t receive BPA info messages in the same way and therefore doesn’t display them.

I know BPA can take the “out” info$_ value of your action and then show it as an error message if you want, but I don’t know if it can actually show it as an info or warning message.


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Employee)
  • Mar 11, 2026 11:22 AM UTC

Hi ​@SimonTestard ,

I created a command in the .client file and called the same action InforBanner(). I received the info message as expected. It seems that Client_SYS.Add_Info cannot be used to display an info message through BPA.

 


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Employee)
  • Mar 16, 2026 2:18 AM UTC

Hi,

Any other ideas?


Forum|alt.badge.img+12
  • Hero (Customer)
  • Mar 16, 2026 8:59 AM UTC

Sorry, no other ideas when using BPA, like I said BPA has an option to display errors as a process end, but I don’t know if there’s any way to make it display a message as an info or warning message.


  • Mar 16, 2026 10:04 AM UTC

It is surprising that this functionality is not available out of the box. Providing clear feedback to the user about what is happening during execution is, in my opinion, a fundamental requirement for usability and troubleshooting.

At the moment, the only reliable way to surface meaningful messages seems to be through PL/SQL Error_SYS.Record_General, which is not ideal because it stops and rolls all changes back.