Skip to main content

I am working on a validation business rule that allows only specific people to change a request from CLOSED status to OPEN

I figured the best way to do this would be using the REQUEST_EVENT table and CREATED_BY column. However, the event is only created AFTER insert so this wouldn't work. Is there another way to set this rule by the user actively doing it? or are business rules limited to tables & columns?

Is this something i would need to do via XML?

Dear jbernardo, 

 

you can use e.g. USER_LOG_IN.PERSON_ID as an input Parameter in your Business Rule. 

 


Unfortunately that table doesn't exist in our version of FSM

Initially i did it by table Person_role and set the permissions based on role

it worked but in our live environment wasnt really working so i was trying to find an alternate way


which version of FSM are you using?


5.7


Maybe you can try to use the expression. There should be something similar that can be used. I am not 100 % sure about the syntax but maybe another colleague has an idea.


i ended up creating a relation def for PERSON_ROLE and did it that way


Dear jbernardo, 

 

you can use e.g. USER_LOG_IN.PERSON_ID as an input Parameter in your Business Rule. 

 

This an excelent option to get it done.


Reply