Hi experts,
I create a Business Object have a element field Createby, datatype is EmployeeID.
When I create Notification I can choose the field
and set Workflow rules Recipient Determination, I can select the CreatedBy
But I hope the Recipient is sent to My manager or My team on Create the new record.
So I define
[Label("Manager")] [Tooltip("Manager")] element ManagerUUID:UUID;
write Code on Event-AfterModify.absl:
if (employee.IsSet()){
this.ToEmployee = employee.ToRoot;
this.ManagerUUID = this.ToEmployee.CurrentOrganisationalUnitAssignment.ToParent.CurrentFunctionalManager.GetFirst().EmployeeUUID;
}
Because I don't how to transfer UUID to ID, So I try to use the UUID Field
Surprisingly, even satisfy my requirement.
when I create a new record Notification to my manager.
Currently, I don't know how to reach another requirement - Sent Notification To My team
Can you give me any idea.
Best regards
Daniel


