Skip to main content
Question

How to pass current user id in perform message

  • May 12, 2023
  • 6 replies
  • 170 views

Forum|alt.badge.img+8

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

SAMLK
Hero (Partner)
Forum|alt.badge.img+14
  • Hero (Partner)
  • May 15, 2023

@ssabo 

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


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • May 15, 2023

@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

 


SAMLK
Hero (Partner)
Forum|alt.badge.img+14
  • Hero (Partner)
  • May 16, 2023

@ssabo could you share a screenshot here?


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • May 18, 2023
UI Designer -> Right Click Button -> Set Perform Message to get this dialog box:

 


Forum|alt.badge.img+5

@ssabo , 

 

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

 

Thanks,

Hasara


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • May 29, 2023

@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