I am editing the emailTemplate lauched on create identities to send the firstName and lastName of the new user on the body.
We cannot use getObjectbyName because at this point the identity does not yet exist.
How do we get the request/form data to print in the email?
e.g. department, first name, last name…
If you are using OOTB workflow of Create Identity and If you do not want to make any changes to the workflow then please use “plan” object in email template to loop through attribute requests and print value in the template but If you have an option to make changes in workflow then you can put all required values in a map and pass it as an argument and print the same values in email template.
Otherwise if you have some request object which has these values then you can set it as emailoptions and then get it as argument in email template as provided below:-