78890 - no subject - My process modulear as below:\n"User Inp

My process modulear as below:
"User InputTask" >> "Office Document Generator" >> END

here, In document generator, have used DOCX template file and mapping of parameters used in document template and process variables.
PROBLEM: when user input value contains ampersand (&) then generated docx file shows error while opening it But when we enter '&amps;' instead of '&' then it works fine. Now, i have many reports containing lots of text file. Is there any shortest way to tackle ampersand population into report (i don't want to create function and pass each process variable through that function).
thanks...

OriginalPostID-78890

  Discussion posts and replies are publicly visible

Parents
  • thanks for your comments.
    Do you mean to pass each process variables from toHTML() function and which will convert '&' to '&amps;' ? by converting toHTML() , does it impact for docx file generation as i am generating document file and not the HTML one.. ?
    if yes then, can you please share me some shortest way to apply this for each process variables. i do have 100+ around process variables for most of the reports. it would be great if i can apply at some single place and apply to all varaibles.
Reply
  • thanks for your comments.
    Do you mean to pass each process variables from toHTML() function and which will convert '&' to '&amps;' ? by converting toHTML() , does it impact for docx file generation as i am generating document file and not the HTML one.. ?
    if yes then, can you please share me some shortest way to apply this for each process variables. i do have 100+ around process variables for most of the reports. it would be great if i can apply at some single place and apply to all varaibles.
Children
No Data