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
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$
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$