Question

How to pass current user id in perform message

  • 12 May 2023
  • 6 replies
  • 109 views

Userlevel 3
Badge +7
  • Sidekick (Customer)
  • 21 replies

We want to pass the current user id as a parameter to a custom perform definition when the user clicks a button on a page in the FSM 6 Smart Client. The modified_by field is not a solution as no data is being modified on the page. Does anyone know how to do this? We have tried using user_log_in.person_id from this post: https://community.ifs.com/field-service-management-fsm-planning-and-scheduling-optimization-pso-249/fsm-active-user-session-is-stored-in-which-table-4752 but it did not send any information. 

 

Thanks


6 replies

Userlevel 4
Badge +12

@ssabo 

How are you passing the perform message on the button?? Is it through the Perform message editor on the UI designer?

Userlevel 3
Badge +7

@ssabo

How are you passing the perform message on the button?? Is it through the Perform message editor on the UI designer?

 

Passing the information using the set perform message on the button in UI Designer

 

Userlevel 4
Badge +12

@ssabo could you share a screenshot here?

Userlevel 3
Badge +7
UI Designer -> Right Click Button -> Set Perform Message to get this dialog box:

 

Badge +3

@ssabo , 

 

Could you please try and check whether user_log_in.person_id works?

 

Thanks,

Hasara

Userlevel 3
Badge +7

@ssabo , 

 

Could you please try and check whether user_log_in.person_id works?

 

Thanks,

Hasara

Unfortunately this does not work as the description noted

Reply