1. I am creating a notice generator framework. For that, I have NoticeType table and in that table, I have NoticeTemplate column where I save the HTML code of the notice template.2. So When my process model runs it gets the template from the NoticeType table. Now I am seeking help for below question
Q1. Is there any ways I can generate an HTML document from the HTML code which I have in process variable
Discussion posts and replies are publicly visible
ajinkyab277 , We have a smart service "HTML Doc from Template" under Document Generation category.
First we need to create a template document ..as below
Then configure the "HTML Doc from Template" node as below.
Here for the data you can the pv in expression editor
I tried the same, I am getting "Template document not accessible" error
The you have a permission/security settings problem. The user that runs that node does not have access to the file.
can you share the way you are implementing it and the error received?
I am trying to capture email responses and want to store it as a document. I have configured the Receive Message Event that triggers whenever somebody responds to the email. Next, I am getting the entire html format of the email using msg!properties.Bodies[2] and stored it in a process variable. I wanted to generate a html document from this process variable, so I am using the generate HTML from Template smart service and passing a template which only has one line ###data###, and I have passed the process variable that has the html code to this template. Now I am getting " Template document is not accessible" error.
Thank you issue got resolved. I changed in the assignment to run as whoever designed the process model
Maybe it's related with permissions? Did you check if there is more info in logs (probably tomcat-stdout.log)?