Hello,
Is there a way to configure a field to return the value of another field? On the WorkAssignment in GHR, we would like the delivered LegalEntity field to update to and display the value of another, configured field. Thank you!
-Derek
We are attempting to make the standard "LegalEntity" field update and return the value of the "Position.PSHLegalEntityHolder" user field.
Oh, I think I see what you mean. You want the value of Postion.PSHLegalEntityHolder set into the LegalEntity persisted field? I guess the question is "when". When what changes does it matter to update LegalEntity? Position?If true you might try:
paragraph Position when value changed LegalEntity = Position.PSHLegalEntityHolder
This will work when someone changes Position on the form, LegalEntity should get a value from Postion.PSHLegalEntityHolder if there is one, then save will save it.
Thank you! That's exactly what we want to happen. We always want the LegalEntity field to reflect the value of the Position.PSHLegalEntityHolder. When we use the "when value changed", the LegalEntity field updates as expected when the WorkAssignment has a Position update (transfer, promote, etc.). We also applied this same code to HROrganizationUnit field. This is where we are running into issues. When an HROrganizationUnit change occurs on the Position, resulting in a LegalEntity change, the LegalEntity on the WorkAssignment does not update to reflect this. Although this Position update causes an "UpdateFromPositionOrJob" update on the WorkAssignment and the Position.PSHLegalEntityHolder updates, the LegalEntity field does not. This is the piece we are struggling to address.