Hello,
I have a Fillable PD that has a section where staff enters pre-established text (technical standards).
To avoid having staff type it every time they need to generate this PDF, I created a form that has all the possible options as checkboxes (they can have more than one).
The problem is that if I use the general Variable name %(RetrieveBusinessProcessVariables_ContractTechnicalStandards), I get only the first option selected. And, I get the Values (with the underscores).
If do this instead:
I'll obtain the words True, False, False, True, False.
This made me think I could use the Token Calculator to create a new Token where based on the True/False results would return the text I want. So I wrote this:
IF(%(RetrieveBusinessProcessVariables_ContractTechnicalStandards_P_327_Conservation_Cover_Is Set),327 Conservation Cover, IF(%(RetrieveBusinessProcessVariables_ContractTechnicalStandards_P_342_Critical_Area_Seeding_Is Set), 342 Critical Area Seeding, IF(%(RetrieveBusinessProcessVariables_ContractTechnicalStandards_P_382_Fence_Is Set), 382 Fence,IF(%(RetrieveBusinessProcessVariables_ContractTechnicalStandards_P_512_Forage_and_Biomass_Is Set), 512 Forage and Biomass, IF(%(RetrieveBusinessProcessVariables_ContractTechnicalStandards_P_516_Watering_Facilities_Is Set), 516 Watering Facilities, "")))))
But no matter what I do the Test Formula says it's an invalid expression. I've tried to use just one condition to work on my syntax (I'm new to Laserfiche), but I still can't make it to work.
I've also tried: IF(%(RetrieveBusinessProcessVariables_ContractTechnicalStandards_P_327_Conservation_Cover_Is Set),TEXT(327 Conservation Cover),TEXT()) because I read the double quotes are a special character, but I can't seem to test the formula correctly.
I would like my result on the PDF to be:
327 Conservation Cover
512 Forage and Biomass
(If these were the options checked in the form be the planner)
Do I need to use the Token Calculator? Can I resolve this in the Fill Out PDF Form activity?
Here's my workflow (the Token calculator is not working)
Any ideas, suggestions, etc, are welcome. Thank you!