Closed GadgetGeekNI closed 1 year ago
Thanks, @GadgetGeekNI!
Reviewing now; should we completely disable the highlighted sentence when the related variables are blank?
# IT Support Variables - Use these if the default text is fine but you want your org's info inserted instead
supportTeamName=""
supportTeamPhone=""
supportTeamEmail=""
supportKB=""
supportTeamErrorKB=", and mention [${supportKB}](https://servicenow.company.com/support?id=kb_article_view&sysparm_article=${supportKB}#Failures)"
supportTeamHelpKB="\n- **Knowledge Base Article:** ${supportKB}"
If you need assistance, YOYO!
# IT Support Variables - Use these if the default text is fine but you want your org's info inserted instead
supportTeamName="supportTeamName"
supportTeamPhone=""
supportTeamEmail="rescueme@domain.com"
supportKB=""
supportTeamErrorKB=", and mention [${supportKB}](https://servicenow.company.com/support?id=kb_article_view&sysparm_article=${supportKB}#Failures)"
supportTeamHelpKB="\n- **Knowledge Base Article:** ${supportKB}"
Adding If switches to only include existing support values. My use case here is that I don't have either KB articles or a support cell phone number that would work here.
Hopefully this proves useful going forward in accommodating other similar use cases.
With values:
Without Values: