Skip to main content
Solved

Dynamic Error Message in Workflow Failure Event

  • April 8, 2026
  • 6 replies
  • 64 views

Forum|alt.badge.img+9

Hi,

We are using a workflow for validation triggered via an Event Action. In the Failure Event, the error message is static.

We want to show a dynamic error message similar to:
Error_SYS.Appl_General('Error :P1 and :P2')
by passing values (P1, P2) at runtime.

We tried using workflow variables in the Failure Event message, but it still behaves as static.

Questions:

  • Is it possible to pass dynamic values to the Failure Event error message?
  • Can we achieve something similar to Error_SYS.Appl_General in a workflow?

 

Event Action:

 

Workflow:

 

Thanks!

Best answer by SNBSHAN

Thank you all for your input but we are exploring the workaround.

Closing this case now.

6 replies

wahelk
Hero (Former Employee)
Forum|alt.badge.img+11
  • Hero (Former Employee)
  • April 9, 2026

Hi,

As far as I know dynamic error messages not possible in workflows.

You have to use plsql event action , but its in depreciation notes.

Best REgards,
Wasana


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • April 9, 2026

Hi ​@wahelk ,

 

It was communicated to us not to use the event action that is why we are exploring option to show the error message dynamically with input value.

Any other way to achieve this with validation workflow?

 

Thanks

 


wahelk
Hero (Former Employee)
Forum|alt.badge.img+11
  • Hero (Former Employee)
  • April 9, 2026

Hi,

I am not sure we have other options. I am working on such right now and IFS mentioned that this is not possible. I couldn't find any other alternative.

Best Regards,
Wasana


Forum|alt.badge.img+9
  • Hero (Customer)
  • April 9, 2026

hello ​@SNBSHAN 

 

You need to customize the projection your are calling.

We have used the following sollution 

 

 

 


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • April 9, 2026

Hi ​@N.GEORGI 

I tried that solution and also configure custom projection but it is not working in validation workflow.

How you call the workflow with event action or from other way?

I am using the event validation and it not worked. If possible could you send your BPMN file and how you called that workflow

 

Thanks


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • Answer
  • April 9, 2026

Thank you all for your input but we are exploring the workaround.

Closing this case now.