Document Generation - multiple templates with similar conditions

Hi,
I have two templates that I want to have generated upon form submission and various other triggers in my workflow. Due to potential changes, I have it re-generate so the final "step" is the version that has the most updated information.
I currently have 6 templates in a single workflow, with my condition for each being a count of the "ORG codes" (a template for 1 ORG code has fields for 1 transaction, a template for 3 ORG codes has fields for 3 transactions, etc. Since you can't do conditional fields on a pdf, I created a second template with a section for "emergency events" which is the only difference between the templates.
I tried adding a condition to my initial document generation workflow that has both the count of the ORG code and if the "emergency event" was not blank but when I tested, the template that populated was the non-emergency event template, which is incorrect.
I believe that once Smartsheet has a match of conditions, it will trigger the workflow, so I tried re-ordering the conditions but that didn't work.
I'm not sure how else to make this work, has anyone ran into this before and if so, is there a solution?
Thank you in advance!
Answers
-
@Murz For your Condition 1 if you add "where [State of Emergency Event] is blank"
I think that would do it for you in your use case?
Darren Mullen - Looking to take your Smartsheet knowledge to the next level and become an expert? Join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
-
Hi,
I hope you're well and safe!
Did you add the middle one with two conditions to be first? Didn't it work?
I hope that helps!
Be safe, and have a fantastic day!
Best,
AndrΓ©e StarΓ₯ | Smartsheet Expert Consultant & Partner / CEO @ WORK BOLD
β Did I help answer your question/solve the problem? Please support withπ‘ β¬οΈ β€οΈ, and/or β Answer. This will make it easier for others to find a solution or help answer! I appreciate it, thank you! πSMARTSHEET EXPERT CONSULTANT & PARTNER
AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E: andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.