This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

User Manager and User Department Attribute in Attestation approval email

Hi Team,

 

I want to include User Manager  and User Department Attribute in Attestation approval email,I am unable to do as there is no foreign key reference 

  • The Attestation is not always an user attestation. Therefore you should somehow restrict the email.
    One example would be to create a script that checks whether the UID_PWODesicionRule is user attestation.
    Without the script it would look like following, but then if it is not an user attestation these fields will be empty.
    User Manager: $FK(UID_AttestationCase).FK(ObjectKeyBase).FK(UID_PersonHead).InternalName$
    User Department: $FK(UID_AttestationCase).FK(ObjectKeyBase).FK(UID_Department).DepartmentName$

  • Hi Tomi,

    Thanks for the update, can you also help on the below

    I extended attestation table with custom columns(Users manager and Users Department)want to update this columns dynamically when i use above it is giving compilation errors.
  • Please check are the references valid. The sample references are valid for AttestationHelper, but if the extensions are made to AttestationCase. Then one can't use the reference to FK UID_AttestationCase as it is not valid.

    If I understand correctly, you are wanting to create a template that fetches the data from the person to the custom columns. I don't understand what would it bring to duplicate existing data to custom columns.
  • Actually i want to display the data in pending attestations page,so i need to populate this data there