now it seems that only one process could be choosed to start in an userview.

is there any way to choose more processes to work in only an userview?

thanks.

  • No labels

4 Comments

  1. Hi, currently a userview can involve activities from multiple processes, but only one process can be chosen to start. If you need to start multiple processes, it should be possible to start the other processes (or subprocesses) from within the main process.

    Hope this helps!

  2. i stil dont understand, how to start multiple proses, can u give an example?

    to start with more than one package?

    1. In Userview leave section "Select a Process to start" empty and go to "Custom Layout" section.
      In Menu area put the following statement:

      <div id="startProcess">              
         <div id="startProcessLabel">
            <a href="javascript: startProc1();"> PR1</a>
        </div>
      </div>
      <div id="startProcess">              
         <div id="startProcessLabel">
            <a href="javascript: startProc2();"> PR2</a>
        </div>
      </div>
      <script type="text/javascript">
      function startProc1()
      {
         var popupDialog = new PopupDialog("/wflow-wfweb/web/client/process/view/pr1pkg:1:newpkg1_wp1?runDirectly=true", " ");
         popupDialog.init();
      }
      function startProc2()
      {
         var popupDialog = new PopupDialog("/wflow-wfweb/web/client/process/view/pr2pkg:2:newpkg1_wp1?runDirectly=true", " ");
         popupDialog.init();
      }
      </script>
      

      Fix PopupDialog parameter, e.g. pr1pkg:1:newpkg1_wp1:

      • pr1pkg - Package name
      • 1 - Package version
      • newpkg1_wp1 - Process Workflow name

      Regards,
      Piotr

      1. thanks a lot Piotr,

        it works!

        may be = Fix PopupDialog parameter, e.g. pr1pkg:1:newpkg1_wp1:

        is pakcage ID and Process workflow ID not name