Skip to main content
Question

Validation Business rule acting on "logged in" user

  • December 12, 2024
  • 2 replies
  • 36 views

Forum|alt.badge.img+6

Hello,

 

I am need to build a validation business rule that acts based on who is preforming the action.

I understand that in the I can place static values in the ‘expression’ area pointed at “user_login_id” but it appears that MUST be a static value validate against

 

I would like to validate that against the view “direct_NPU_alter_auth_VW” that returns a list of person_id’s and a YorN field if they are authorized.   But it appears this is non functional.

 

I have tried : “user_log_in.person_id = direct_NPU_alter_auth_VW.person_id and direct_NPU_alter_auth_VW.Bill_NB = ‘N’” but it does not work..

 

Can you help me with this logic?

 

Best regards,

Dan

 

 

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28

Hi ​@MKNDANIEL 

Maybe this can help?

FSM business rule expression question | IFS Community


Forum|alt.badge.img+6
  • Do Gooder (Customer)
  • December 13, 2024

Yes, I built custom meta data linking the validation view to the person table.  When I read that thread it needed linkage between the two pieces of the expression.  I interpreted that to mean that “user_log_in” acts as the person table so the view is linked to the person table on the person table custom metadata by person_id.  Did I miss a step?

 

 


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