Solved

Use field values in the message of a validation business rule

  • 29 September 2021
  • 4 replies
  • 135 views

Userlevel 4
Badge +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?

icon

Best answer by Saranga Amaraweera 29 September 2021, 05:20

View original

4 replies

Userlevel 6
Badge +26

Hi @Miraj 

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

Cheers!

Userlevel 4
Badge +9

Thanks @Shneor 

 


Now I’m getting this


 

Userlevel 7
Badge +22

HI @Miraj ,

 

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

 

Userlevel 4
Badge +9

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