How to sync two fields in two module via workflow?

Hi there,

I create a user in Users Module, and there is one filed named Department.

Now I add a new field named Department in Account Module, to capture the Department info of the Assigned to user from Users Module

the Department field in Account module can capture the Department in Users module automaticly when the Assigned to user changes in Account Module.
How to do it?
Thank you very much.


You can create a logic hook such that once assigned user changes. Fetch the current user’s object and get the department and save it in the account’s bean.