SJEaton Posted October 24, 2017 Share Posted October 24, 2017 Hi, we have an issue that has been brought to our attention on 3 occasions now whereby variables aren't pulling through on emails. The issue seems to occur on one particular email where the customer has entered an email address in a ProCap and it then generates an email to this address (I've included an example below of the error). When I look into this there is nothing wrong with the variables in the email template and then when I test it again it seems to work fine so not sure why this is occurring? Any help would be greatly appreciated, thanks Sam Hi Sam Please see below, this is an email received by a manager. Are we able to find out why the request details come out like that? Dear Colleague Mark Inger has logged a request under reference SR00002020 and has asked that a copy of the query be emailed to you for your information. Request Details Query Type: {{.H_custom_a}} Employee Name: {{.H_custom_b}} Employee Number: {{.H_custom_c}} Query Details: {{.H_custom_e}} Kind regards, The Payroll & HR Admin Team Business Support Link to comment Share on other sites More sharing options...
Victor Posted October 24, 2017 Share Posted October 24, 2017 @SJEaton for request 2020 there are no values stored in the database for custom A to E fields... Looking at one of the mapped questions: Enter the details of your query in the space provided below, it has quite a bit of text.. custom fields can only store 255 characters currently if the text exceeded this limit, question answers will not be saved in custom fields... So this is what happened on 2020, no data stored in custom fields, no values for the template. My advice would be to limit the input to answers which are mapped to custom fields using the REGEX validation. Link to comment Share on other sites More sharing options...
SJEaton Posted October 24, 2017 Author Share Posted October 24, 2017 I understand what you are saying but it's onl custom_e that is a multi-text field so might exceed the 255 character limit? A is a drop down should definitely shouldn't exceed this and B and C are single line text fields Sam Link to comment Share on other sites More sharing options...
SJEaton Posted October 24, 2017 Author Share Posted October 24, 2017 For E, I don't want to limit the characters as we ask for as much info from the customer as possible and don't want to restrict them. Can I pull through what is entered in this field in another way at all? Sam Link to comment Share on other sites More sharing options...
Victor Posted October 24, 2017 Share Posted October 24, 2017 47 minutes ago, SJEaton said: A is a drop down should definitely shouldn't exceed this and B and C are single line text fields @SJEaton if only one field exceeds the limit then all mapping fails...on all fields. Is because the mapping procedure does all the fields in one go... 43 minutes ago, SJEaton said: For E, I don't want to limit the characters as we ask for as much info from the customer as possible and don't want to restrict them. Can I pull through what is entered in this field in another way at all? Well, if the final purpose is to have this information available in an email template variable then you need to use request custom fields. So, you need the mapping... so no, you cant pull the information in another way with current functionality. So restricting the input to 255 characters is the only current alternative... Link to comment Share on other sites More sharing options...
SJEaton Posted October 24, 2017 Author Share Posted October 24, 2017 ok thanks for clarifying. We will have to review what we have in place then. Sam Link to comment Share on other sites More sharing options...
SJEaton Posted October 27, 2017 Author Share Posted October 27, 2017 Hi @Victor, I've put the 255 character limits on now. This really isn't much text though so is there any chance that increasing this limit could be considered? Sam Link to comment Share on other sites More sharing options...
Victor Posted October 30, 2017 Share Posted October 30, 2017 @SJEaton there is some improvement being worked on in this area but I can't say when it will be available... maybe something @James Ainsworth has more info about... Link to comment Share on other sites More sharing options...
James Ainsworth Posted October 30, 2017 Share Posted October 30, 2017 Hi Sam, We are currently reviewing a change which will look at providing some changes to sizes and types of custom fields. I will let you know as this progresses. Regards, James Link to comment Share on other sites More sharing options...
SJEaton Posted October 30, 2017 Author Share Posted October 30, 2017 Thanks @James Ainsworth Link to comment Share on other sites More sharing options...
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