<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 2 Questions: document variable  and  myVariable_LABEL in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221051#M174181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes the generated PDF is automatically uploaded to the Alfresco/BOX/GoogleDrive repository without human intervention.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 tasks:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a. "generate document task" having "Document Variable" property set for example with this value "document1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b. "Publish to Alfresco Task" and here you can choose the variable named "document1" in "Alfresco Content -&amp;gt; Publish content uploaded in a field -&amp;gt; Variable -&amp;gt; choose your variable"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here you will not have any human interaction and the content will be uploaded to Alfresco repo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this is not solving your problem, please let us know what's your Activiti version ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Dec 2015 09:55:20 GMT</pubDate>
    <dc:creator>vasile_dirla</dc:creator>
    <dc:date>2015-12-23T09:55:20Z</dc:date>
    <item>
      <title>2 Questions: document variable  and  myVariable_LABEL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221042#M174172</link>
      <description>I couldnt find this in documents… first question:it is a field: "document variable" for generate document task… I know that it meants the name of the generated pdf document, but how do i make it variable. Right now i can only type in words, no special characters… so if I type in test, then that gene</description>
      <pubDate>Tue, 15 Dec 2015 10:50:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221042#M174172</guid>
      <dc:creator>bizilux</dc:creator>
      <dc:date>2015-12-15T10:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Questions: document variable  and  myVariable_LABEL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221043#M174173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;few more questions… how would I go about inserting name and surname of person who started the process into that generated PDF document?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;would i need some java knowledge and mess about inside code? can you please give me example/solution if its simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;how would i go about in inserting current date into generated PDF document?&amp;nbsp; preferably in DD.MM.YYYY format?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know there are apose docs, but i cant make up anything useful from in there… keep in mind i have really basic coding knowledge &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;————-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 2 date fields in my form, because employee select start and ending of vacation. how would I calculate how many days of vacation that is, not counting saturdays and sundays and possibly even hollidays…&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;yeah im sure i would need to write code here probably for custom stencil right?…&amp;nbsp; yeah i will just leave it up for secretary to manually put in number of days. That stuff is too complicated to spend that much time on it&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 13:17:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221043#M174173</guid>
      <dc:creator>bizilux</dc:creator>
      <dc:date>2015-12-15T13:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Questions: document variable  and  myVariable_LABEL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221044#M174174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So to answer your questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The variable name is an expression. So you can do something like my_name_${expression} or event ${myCustomBean.determineName()} to use a bean to determine the name&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Yes, that is correct, as people get stored with their id's. You could use a template preprocessor to fetch the user details (using the UserInfoBean), see &lt;/SPAN&gt;&lt;A href="https://docs.alfresco.com/activiti/docs/dev-guide/1.3.2/#templateVariableProcessor" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/activiti/docs/dev-guide/1.3.2/#templateVariableProcessor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Wrt the process initiator: that is stored in the process instance as the 'initiator' value (note: also the id, so point 2 applies)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Current date: also using the preprocessor I would think.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 12:39:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221044#M174174</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-12-16T12:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Questions: document variable  and  myVariable_LABEL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221045#M174175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. Thats the thing… it doesnt work.&amp;nbsp; If i try to copy paste "my_name_${expression}"&amp;nbsp; without quotes into document variable field on generate document tast… it will copy it, but it will end up looking like this: "my_name_expression" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for other points… I first need to get AD connected to Activiti to put in database of users, and then I will try and solve that template preprocessor to show label instead of id's&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 08:40:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221045#M174175</guid>
      <dc:creator>bizilux</dc:creator>
      <dc:date>2015-12-17T08:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Questions: document variable  and  myVariable_LABEL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221046#M174176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm you might be on to something. I think the variable name regular expression is a bit too overzealous here.&amp;nbsp; We'll fix this, this is a bug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 11:00:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221046#M174176</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-12-22T11:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Questions: document variable  and  myVariable_LABEL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221047#M174177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thats cool, i think its a bug yea… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I managed to get AD and SSO working with alfresco, today im doing alctiviti share connector, to connect them both… and then onwards to victory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a happy holidays.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 08:14:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221047#M174177</guid>
      <dc:creator>bizilux</dc:creator>
      <dc:date>2015-12-23T08:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Questions: document variable  and  myVariable_LABEL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221048#M174178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a similar requirement as well&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want the generated document to be tagged to a variable so that I can use the variable to attach the generated document to a human task UI Form using Display Text Palette….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 09:17:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221048#M174178</guid>
      <dc:creator>akashdhruvc</dc:creator>
      <dc:date>2015-12-23T09:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Questions: document variable  and  myVariable_LABEL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221049#M174179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@akashdhruvc, Some time ago I did a similar scenario just for testing purpose. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there was generated a pdf report and then uploaded the file to an external repository and also added it on a user task form as a downloadable resource.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 09:30:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221049#M174179</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-12-23T09:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Questions: document variable  and  myVariable_LABEL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221050#M174180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want the generated doc to be automatically uploaded to an external repository with no manual intervension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do i do this…I tried using "Publish to Alfresco" task for Alfresco One ECM but it is expecting a variable which is tagged to a document. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is why I needed to tag my generated document to a variable…How should i proceed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 09:39:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221050#M174180</guid>
      <dc:creator>akashdhruvc</dc:creator>
      <dc:date>2015-12-23T09:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Questions: document variable  and  myVariable_LABEL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221051#M174181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes the generated PDF is automatically uploaded to the Alfresco/BOX/GoogleDrive repository without human intervention.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 tasks:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a. "generate document task" having "Document Variable" property set for example with this value "document1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b. "Publish to Alfresco Task" and here you can choose the variable named "document1" in "Alfresco Content -&amp;gt; Publish content uploaded in a field -&amp;gt; Variable -&amp;gt; choose your variable"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here you will not have any human interaction and the content will be uploaded to Alfresco repo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this is not solving your problem, please let us know what's your Activiti version ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 09:55:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/2-questions-document-variable-and-myvariable-label/m-p/221051#M174181</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-12-23T09:55:20Z</dc:date>
    </item>
  </channel>
</rss>

