SJEaton Posted May 24, 2017 Posted May 24, 2017 Hi How do you pull in an item in the details of a request into an auto-email? I have a details field called Start Date that is populated part way through a workflow and then I want to pull it into some auto-emails so wondering how you do this? Thanks Sam
Victor Posted May 24, 2017 Posted May 24, 2017 @SJEaton the Start Date field should be mapped to a custom field (like, custom_a or custom_b, etc.). Make a note of the custom field name then in the email template select this custom field from the variable drop down list...https://wiki.hornbill.com/index.php/Email_Templates
SJEaton Posted May 24, 2017 Author Posted May 24, 2017 Hmmm I think I've used all of my custom fields up in the progressive capture as you can only go up to P right?
Victor Posted May 24, 2017 Posted May 24, 2017 @SJEaton if you already have the "Start Date" field in request details then this is already mapped to a custom field... or is it a new field you plan to add?
SJEaton Posted May 24, 2017 Author Posted May 24, 2017 I just created it this morning. It says its field properties are this - ( relatedEntityData.record.h_custom_a ) but I already named a field in my PG as h_custom_a
Victor Posted May 24, 2017 Posted May 24, 2017 @SJEaton as far as I know this won't use the custom fields in the requests table, but the custom fields in the extended table (don't quote me on this, I am not 100% sure ) So if "Start Date" is mapped to relatedEntityData.record.h_custom_a then in the email template use this variable: Like I said I am not fully certain it works but give it a try... 1
SJEaton Posted May 25, 2017 Author Posted May 25, 2017 Hi @Victor OK so I've created 2 extra details fields in my I Want to Recruit Service called Start Date and Employee Number but only Start Date shows up in the Extra Details list. Any idea why? This is how they have been set up and a screen shot of what I can see in the details in a request. Sam
SJEaton Posted May 25, 2017 Author Posted May 25, 2017 It's ok I deleted it out and did it again and it works now.
SJEaton Posted May 25, 2017 Author Posted May 25, 2017 Right, I got over the issue of it not showing but now what it's doing is populating itself with H_custom_b field info from the PG. When I then enter the Employee Number in the field it pulls through this number in the variables in my email despite me saying to put H_custom_b in one field and Extended Information custom 2 in the other field - see email I received below and my email template. Thanks, Sam
Victor Posted May 25, 2017 Posted May 25, 2017 @SJEaton I had a birt more thorough look into this also ran a few tests. I think I might have provided some unclear or misleading information...apologies First, forget about "Extended Information" variables, they don't work how I thought/expected... actually I am not sure at this point what/why are those used for... but this is something separate. So, if you create a custom field in request details it will use a custom field in requests table (custom_a, custom_b, etc.). If you have a custom form in progressive capture and a field in the form mapped to an "h_custom" field, it will use the custom fields in the requests table. So basically they overlap, and is intended behavior. To come back to your specific example: Employee Number, Job Title and Start Date will all have to be mapped the their own custom field.
SJEaton Posted May 26, 2017 Author Posted May 26, 2017 OK that's a shame. So if I have used up all of my customer fields in the progressive capture (I.e. up to P) I'm stuck then as I won't be able to use any more in the requests table? Sam
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now