1 2 Previous Next 18 Replies Latest reply on Jan 11, 2012 3:53 AM by Estelle Guallar

    Problems in using JBPM5

    Estelle Guallar Newbie

      Hi forums

       

        I'm new in using the jbpm5, i want to fill a process throught out the factory :

       

              RuleFlowProcessFactory factory = RuleFlowProcessFactory.createProcess("org.jbpm.process");

        factory

                           .humanTaskNode(i)

                           .actorId(participantAttribute.getName())

                           .taskName(bpmTask.getTask().getBPMTask().getName())

                           .swimlane(bpmLane.getName())

                           .comment("c'est une tâche spécifique")

                           .content(bpmTask.getTask().getDynRoots().toString())

                           .onEntryAction("java", "script en entree")

                           .onExitAction("java", "script en sortie")

                           .inMapping("entry point", bpmTask.getDeclaredEntryStates().toString())

                           .outMapping("exit point", bpmTask.getDeclaredExitStates().toString())

                           .skippable(false)

                           .priority("1")

                           .waitForCompletion(true)

                           .done();

       

       

      As you can see i use to fill this process through another file but i have problems that all the params are string but i want to use somthing else and not string how can i do it?

      Also for the task can we have under tasks means step 1 step 2 ... for the same task?

      And for the same human task can we add another task or we have only the possibility to add one task for the same human task?

       

      forgive me for  my bad english

       

      with best regards

        1 2 Previous Next