<?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: Permisos sobre work flow sencillo in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99819#M69061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Angel, una duda, ¿ cómo se hace para que se ejecute automáticamente el work flow al entrar un documento en la carpeta cuando no es sencillo ?. Creé el sencillo porque al crear la regla cuando entra el documento se ejecuta autmáticamente . Gracias otra vez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 07:43:44 GMT</pubDate>
    <dc:creator>toti</dc:creator>
    <dc:date>2018-05-22T07:43:44Z</dc:date>
    <item>
      <title>Permisos sobre work flow sencillo</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99816#M69058</link>
      <description>Hola, tengo una regla en una carpeta que crea un work flow sencillo para aprobar o rechazar un documento y moverlo a la carpeta correspondiente, ¿ hay alguna forma de restringir quién puede realizar la tarea de aprobar o rechazar el documento ?.Muchas gracias</description>
      <pubDate>Tue, 22 May 2018 07:16:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99816#M69058</guid>
      <dc:creator>toti</dc:creator>
      <dc:date>2018-05-22T07:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Permisos sobre work flow sencillo</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99817#M69059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Con el flujo sencillo, no hay manera. Deberías utilizar los flujos de trabajo completos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 07:32:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99817#M69059</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-05-22T07:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Permisos sobre work flow sencillo</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99818#M69060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, intentaré hacer uno que haga lo mismo, mandar un correo al respnsable y que pueda aprobar la tarea. Muchas gracias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 07:36:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99818#M69060</guid>
      <dc:creator>toti</dc:creator>
      <dc:date>2018-05-22T07:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Permisos sobre work flow sencillo</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99819#M69061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Angel, una duda, ¿ cómo se hace para que se ejecute automáticamente el work flow al entrar un documento en la carpeta cuando no es sencillo ?. Creé el sencillo porque al crear la regla cuando entra el documento se ejecuta autmáticamente . Gracias otra vez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 07:43:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99819#M69061</guid>
      <dc:creator>toti</dc:creator>
      <dc:date>2018-05-22T07:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Permisos sobre work flow sencillo</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99820#M69062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tendrás que escribir un JavaScript similar al siguiente:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; workflow &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; actions&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;create&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"start-workflow"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;workflow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"bpm:workflowPackage"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; document&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;workflow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workflowName &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"activiti$AdHocactivitiTimer"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;workflow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"bpm:assignee"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; people&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getPerson&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"admin"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;workflow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"bpm:workflowDescription"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"test"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;workflow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"bpm:workflowPriority"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;workflow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"bpm:sendEMailNotifications"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;workflow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"initiator"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; people&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getPerson&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"admin"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; today &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Date&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; duedate &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; today&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getDate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;BR /&gt;workflow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"bpm:workflowDueDate"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; duedate&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;workflow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;execute&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;document&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y asociarlo a la regla de la carpeta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 08:10:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99820#M69062</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-05-22T08:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Permisos sobre work flow sencillo</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99821#M69063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola, otra vez, unas dudillas sobre los campos:&lt;/P&gt;&lt;P&gt;workflow.parameters["bpm:workflowPackage"] = document; -- document es el nombre del work flow ?? -- &lt;/P&gt;&lt;P&gt;workflow.parameters["bpm:assignee"] = people.getPerson("toti"); -- usuario que debe ejecutarlo ?? --&lt;BR /&gt;workflow.parameters["bpm:workflowDescription"] = "test"; -- campo descripción del work flow ?? --&lt;BR /&gt;workflow.parameters["bpm:workflowPriority"] = "2";&lt;BR /&gt;workflow.parameters["bpm:sendEMailNotifications"] = true;&lt;BR /&gt;workflow.parameters["initiator"] = people.getPerson("toti"); -- ??? --&lt;/P&gt;&lt;P&gt;workflow.execute(document);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entiendo que se crea un script nuevo dentro del diccionario de datos / scripts y que se debe poner la url en la regla no ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muchas gracias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 10:39:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permisos-sobre-work-flow-sencillo/m-p/99821#M69063</guid>
      <dc:creator>toti</dc:creator>
      <dc:date>2018-05-22T10:39:27Z</dc:date>
    </item>
  </channel>
</rss>

