cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy workflow

evdgeest
Champ in-the-making
Champ in-the-making
I followed the Creating and Customizing Workflow guide, but i got stuck at the point of deploying the definition into alfresco. I renamed workflow-context.xml.sample into workflow-context.xml in the extension folder, after restarting alfresco I get other workflow options like pooled and parallel review workflow and my own "brief workflow". When I choose brief workflow the properties did not work. I tried a lot, but when I delete the workflow-context.xml from the extension folder and restart alfresco I still have all the workflow options (only my workflow is missing his label) and after choosing my brief workflow all the properties does work without the assigning property.
This error is displayed in the tomcat command prompt: WARN [component.property.UIAssociation] Failed to find association definition for association 'bpm:assignee'

I'm out of options, can someone help me please. I hope my description of the problem is clear enough, otherwise I will give more information.

The files I created/edited:
Processdefinition: brief_processdefinition.xml in <configroot>\alfresco\workflow\
Task model: briefModel.xml in <configroot>\alfresco\workflow\
Web client config: web-client-config-properties.xml in <configroot>\alfresco\
Deployment: workflow-context.xml in <extension>\


workflow-context.xml:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>
    <bean id="myworkflows.workflowBootstrap" parent="workflowDeployer">
      <property name="workflowDefinitions">
         <list>
        <?xml version='1.0' encoding='UTF-8'?>
        <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

        <beans>
          <bean id="myworkflows.workflowBootstrap" parent="workflowDeployer">
            <property name="workflowDefinitions">
              <list>
                <props>
                  <prop key="engineId">jbpm</prop>
                  <prop key="location">alfresco/workflow/parallelreview_processdefinition.xml</prop>
                  <prop key="mimetype">text/xml</prop>
                  <prop key="redeploy">false</prop>
                </props>
                <props>
                  <prop key="engineId">jbpm</prop>
                  <prop key="location">alfresco/workflow/parallelreview_group_processdefinition.xml</prop>
                  <prop key="mimetype">text/xml</prop>
                  <prop key="redeploy">false</prop>
                </props>
                <props>
                  <prop key="engineId">jbpm</prop>
                  <prop key="location">alfresco/workflow/review_pooled_processdefinition.xml</prop>
                  <prop key="mimetype">text/xml</prop>
                  <prop key="redeploy">false</prop>
                </props>
                <props>
                  <prop key="engineId">jbpm</prop>
                  <prop key="location">alfresco/workflow/brief_processdefinition.xml</prop>
                  <prop key="mimetype">text/xml</prop>
                  <prop key="redeploy">true</prop>
                </props>
              </list>
            </property>
            <property name="models">
              <list>
                <value>alfresco/workflow/briefModel.xml</value>
              </list>
            </property>
            <property name="labels">
              <list>
                <value>alfresco/workflow/brief-messages</value>
              </list>
            </property>
          </bean>
        </beans>

        <props>
          <prop key="engineId">jbpm</prop>
          <prop key="location">alfresco/workflow/brief_processdefinition.xml</prop>
          <prop key="mimetype">text/xml</prop>
          <prop key="redeploy">true</prop>
        </props>
         </list>
      </property>
      <property name="models">
         <list>
        <value>alfresco/workflow/briefModel.xml</value>
         </list>
      </property>
      <property name="labels">
         <list>
       <value>alfresco/workflow/brief-messages</value>
         </list>
      </property>
   </bean>
</beans>

The process definition:
<?xml version="1.0" encoding="UTF-8"?>

<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="wf:brief">

  <swimlane name="initiator"/>

  <start-state name="start">
    <task name="wf:submitBehandelingTask" swimlane="initiator"/>
    <transition name="" to="behandeling"/>
  </start-state>


  <swimlane name="assignee">
    <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
      <actor>#{bpm_assignee}</actor>
    </assignment>
  </swimlane>

  <task-node name="behandeling">
    <task name="wf:behandelingTask" swimlane="assignee">
      <event type="task-create">
        <script>
          if (bpm_workflowDueDate != void)
          {
          taskInstance.dueDate = bpm_workflowDueDate;
          }
          if (bpm_workflowPriority != void)
          {
          taskInstance.priority = bpm_workflowPriority;
          }
        </script>
      </event>
    </task>
    <transition name="" to="controle"/>
  </task-node>
 
  
  <swimlane name="afdelinghoofd"/>

  <task-node name="controle">
    <task name="wf:controleTask" swimlane="afdelinghoofd">
    </task>
    <transition name="" to="verzending">
    </transition>
  </task-node>

  <task-node name="verzending">
    <task name="wf:verzendingTask" swimlane="afdelinghoofd"/>
    <transition name="" to="end"/>
  </task-node>

  <end-state name="end"/> 
 
</process-definition>
6 REPLIES 6

seshu
Champ in-the-making
Champ in-the-making
Hi,

It is better to put everything you create in extension folder instead of workflow except properties.
It seems there is some configuration issue in your files. Most probably you didn't configure bpm:assignee in web client. I am interested to see your model file and web client configurations

evdgeest
Champ in-the-making
Champ in-the-making
Thanks for your reply!
I placed the briefModel.xml, brief_processdefinition.xml and brief-messages.properties in new folder called workflow in the extension folder and edited the workflow-context.xml in the extension folder to the following code. I still get errors when I place workflow-context.xml into the extension folder. Do you know what this means and how I can resolve it?

I will post the brief.xml and brief_processdefinition.xml in the next post.

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>
    <bean id="myworkflows.workflowBootstrap" parent="workflowDeployer">
      <property name="workflowDefinitions">
         <list>
        <props>
          <prop key="engineId">jbpm</prop>
          <prop key="location">alfresco/extension/workflow/brief_processdefinition.xml</prop>
          <prop key="mimetype">text/xml</prop>
          <prop key="redeploy">true</prop>
        </props>
         </list>
      </property>
      <property name="models">
         <list>
        <value>alfresco/extension/workflow/briefModel.xml</value>
         </list>
      </property>
      <property name="labels">
         <list>
       <value>alfresco/extension/workflow/brief-messages</value>
         </list>
      </property>
   </bean>
</beans>

When I place workflow-context.xml in the extension folder this error is shown in alfresco.log

09:53:19,876 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
09:53:27,307 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
09:53:27,597 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
09:53:27,617 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
09:53:27,677 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
09:53:27,827 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'recordsManagement' version 1.0.
09:53:28,638 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_08-b03; maximum heap size 506.313MB
09:53:28,638 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco license: Enterprise Network granted to Enterprise Network License Holder (does not expire)
09:53:28,638 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Enterprise Network): Current version 2.0.0 (build-23) schema 38 - Installed version 2.0.0 (build-23) schema 38
09:53:28,648 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Workflow deployment failed
   at org.alfresco.repo.workflow.WorkflowDeployer.deploy(WorkflowDeployer.java:224)
   at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeployer.java:235)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:45)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:225)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:323)
   at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
   at org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: Could not find bootstrap model C:\Alfresco\tomcat\shared\classes\alfresco\extension\workflow\briefModel.xml
   at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:99)
   at org.alfresco.repo.workflow.WorkflowDeployer.deploy(WorkflowDeployer.java:177)
   … 33 more
09:53:28,689 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: Workflow deployment failed
   at org.alfresco.repo.workflow.WorkflowDeployer.deploy(WorkflowDeployer.java:224)
   at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeployer.java:235)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:45)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:225)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:323)
   at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
   at org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: Could not find bootstrap model C:\Alfresco\tomcat\shared\classes\alfresco\extension\workflow\briefModel.xml
   at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:99)
   at org.alfresco.repo.workflow.WorkflowDeployer.deploy(WorkflowDeployer.java:177)
   … 33 more
09:53:28,719 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.alfresco.error.AlfrescoRuntimeException: Workflow deployment failed
   at org.alfresco.repo.workflow.WorkflowDeployer.deploy(WorkflowDeployer.java:224)
   at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeployer.java:235)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:45)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:225)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:323)
   at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
   at org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: Could not find bootstrap model C:\Alfresco\tomcat\shared\classes\alfresco\extension\workflow\briefModel.xml
   at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:99)
   at org.alfresco.repo.workflow.WorkflowDeployer.deploy(WorkflowDeployer.java:177)
   … 33 more

evdgeest
Champ in-the-making
Champ in-the-making
briefModel.xml
<?xml version="1.0" encoding="UTF-8"?>

<model name="wf:workflowmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">

  <imports>
    <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
    <import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm"/>
  </imports>
 
  <namespaces>
    <namespace uri="http://www.alfresco.org/model/workflow/1.0" prefix="wf"/>
  </namespaces>
 
  <types>
   
 
    <type name="wf:submitBehandelingTask">
      <parent>bpm:startTask</parent>
      <properties>
        <property name="wf:notifyMe">
          <type>d:boolean</type>
          <default>false</default>
        </property>
        <mandatory-aspects>
          <aspect>bpm:assignee</aspect>
        </mandatory-aspects>
      </properties>
    </type>
   
    <type name="wf:behandelingTask">
      <parent>bpm:workflowTask</parent>
      <overrides>
        <property name="bpm:packageActionGroup">
          <default>add_package_item_actions</default>
        </property>
        <property name="bpm:packageItemActionGroup">
          <default>edit_package_item_actions</default>
        </property>
      </overrides>
    </type>
   
    <type name="wf:controleTask">
      <parent>bpm:workflowTask</parent>
      <mandatory-aspects>
        <aspect>bpm:assignee</aspect>
      </mandatory-aspects>
    </type>
   
    <type name="wf:verzendingTask">
      <parent>bpm:workflowTask</parent>
    </type>
   
  </types>
</model>

brief_processdefinition.xml
<?xml version="1.0" encoding="UTF-8"?>

<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="wf:brief">

  <swimlane name="initiator"/>

  <start-state name="start">
    <task name="wf:submitBehandelingTask" swimlane="initiator"/>
    <transition name="" to="behandeling"/>
  </start-state>


  <swimlane name="assignee">
    <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
      <actor>#{bpm_assignee}</actor>
    </assignment>
  </swimlane>

  <task-node name="behandeling">
    <task name="wf:behandelingTask" swimlane="assignee">
      <event type="task-create">
        <script>
          if (bpm_workflowDueDate != void)
          {
          taskInstance.dueDate = bpm_workflowDueDate;
          }
          if (bpm_workflowPriority != void)
          {
          taskInstance.priority = bpm_workflowPriority;
          }
        </script>
      </event>
    </task>
    <transition name="" to="controle"/>
  </task-node>
 
  
  <swimlane name="afdelinghoofd"/>

  <task-node name="controle">
    <task name="wf:controleTask" swimlane="afdelinghoofd">
    </task>
    <transition name="" to="verzending">
    </transition>
  </task-node>

  <task-node name="verzending">
    <task name="wf:verzendingTask" swimlane="afdelinghoofd"/>
    <transition name="" to="end"/>
  </task-node>

  <end-state name="end"/> 
 
</process-definition>

davidc
Star Contributor
Star Contributor
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: Could not find bootstrap model C:\Alfresco\tomcat\shared\classes\alfresco\extension\workflow\briefModel.xml

Ensure you have placed briefModel.xml in the above directory.

evdgeest
Champ in-the-making
Champ in-the-making
I already fixed the problem, thanks for your answer.

linhnh
Champ in-the-making
Champ in-the-making
I already fixed the problem, thanks for your answer.
Hi. I try create this workflow  .
I create brief_processdefinition.xml and briefModel.xml and workflow-context.xml and place them to the alfresco\extension
and it display on the list advance workflow but I can't deploy it .
WARNING] swimlane 'initiator' does not have an assignment
[WARNING] swimlane 'afdelinghoofd' does not have an assignment
[WARNING] swimlane 'afdelinghoofd' does not have an assignment
deployed definition id: jbpm$13 , name: jbpm$wf:brief , title: wf:brief , version: 4
definition: jbpm$13 , name: wf:brief
workflow: None
path: None

what is wrong? how to fix it.
and when I edit the adhoc workflow

some code
<transition name="" to="completed">
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
           <script>
              if (wf_notifyMe)
              {
                 var mail = actions.create("mail");
                 mail.parameters.to = initiator.properties.email;
                 mail.parameters.subject = "Adhoc Task " + bpm_workflowDescription;
                 mail.parameters.from = bpm_assignee.properties.email;
                 mail.parameters.text = "It's done";
                 mail.execute(bpm_package);
              }
          
            var myRoot=bpm_context.parent;
         var myUserhome=initiator.properties['cm:homeFolder'];
         var archiveFolder = myRoot.childByNamePath("Test");
         for (var i = 0; i &lt; bpm_package.children.length; i++) {
            bpm_package.children.copy(archiveFolder);
   }
  
 
           </script>
         </action>
      </transition>
it not change.why?
thanks so much