7oaks Posted May 18, 2020 Posted May 18, 2020 Templates using the Team variable {{Team.H_name}} when logging Requests has stopped working and there is a new variable in the list called {{.H_fk-team_name}} but i cannot get this to show the Team name in emails to the Customers. Any suggestions?
ArmandoDM Posted May 18, 2020 Posted May 18, 2020 Hi @7oaks can you please try using .H_fk_team_name, with underscore ? Regards Armando
7oaks Posted May 18, 2020 Author Posted May 18, 2020 Thank you Armando i'll do that now and let you know
7oaks Posted May 18, 2020 Author Posted May 18, 2020 Sorry, typo - this is what i have from the Variables drop down list {{.H_fk_team_name}}
James Ainsworth Posted May 18, 2020 Posted May 18, 2020 Is it possible that the customer email about the new request is being sent before the team has been assigned? A change in the order that a request is processed within a BPM can sometimes result in this happening. Looking at the list of variables on the email template, either of these can be selected Team Name: This is the value stored directly in the request for the team name and uses the variable {{.H_fk_team_name}} Team - Name: Items in the variable list that contain a dash (-) are fields that are taken from a related entity and not within the actual request record itself. In this case the entity is Team. This uses the variable {{Team.H_name}}. The variable names begining with Team - can be a good way to get information about a team that is not held in the request record. In theory, either one of these should work, but possibly the first one is the better of the two. If there are situations where you know that a field may not be populated you can add |empty to the variable {{.H_fk_team_name|empty}} More documentation on this can be found here Hope this helps. Regards, James
7oaks Posted May 20, 2020 Author Posted May 20, 2020 James this worked a treat thank you. I must have removed it by mistake when updating the variable.
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