Skip to main content
Solved

Use field values in the message of a validation business rule

  • September 29, 2021
  • 4 replies
  • 145 views

Forum|alt.badge.img+9
  • Sidekick (Partner)
  • 59 replies

Hi experts,

This is somewhat of a trivial question. I’m attempting a basic validation on the task line under a request


the validation is to throw an error if,

Material Order Date > Delivery Date

Delivery Date > Planned Start

The business rule I created is as following,

The business rule works ok. But the validation message is not picking up the task id. It’s appearing as following,
 


What’s the correct way to refer to the fields of the related table in the message?

Best answer by Saranga Amaraweera

HI @Miraj ,

 

You can write this in the expression field of the output parameters to get this working with following syntax. :slight_smile:

 

View original
Did this topic help you find an answer to your question?

4 replies

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • 1135 replies
  • September 29, 2021

Hi @Miraj 

I think the correct syntax is  {TASK.TASK_ID}, instead of @task_id

Cheers!


Forum|alt.badge.img+9
  • Author
  • Sidekick (Partner)
  • 59 replies
  • September 29, 2021

Thanks @Shneor 

 


Now I’m getting this


 


Saranga Amaraweera
Superhero
Forum|alt.badge.img+22

HI @Miraj ,

 

You can write this in the expression field of the output parameters to get this working with following syntax. :slight_smile:

 


Forum|alt.badge.img+9
  • Author
  • Sidekick (Partner)
  • 59 replies
  • September 29, 2021
Saranga Amaraweera wrote:

HI @Miraj ,

 

You can write this in the expression field of the output parameters to get this working with following syntax. :slight_smile:

 

Thanks a lot @Saranga Amaraweera :relaxed:


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings