문제

I have created jbpmn workflow to create workitem and intention is that need to assign task to individual user, can anybody please tell me how i can access any java class objects inside user task of jbpmn?

올바른 솔루션이 없습니다

다른 팁

you can always access java objects by passing as parameter to jBPM process and use it in jBPM process. To assign dynamic user you can pass variable from java file. If your requirement is to use that changed value in java file too, you can always use global object(shared between java file and jBPM process).

There are ways to assign task to user.

  1. Add user in Actors in properties of task.
  2. Add through java code: After getting task in code user dynamically as below.

    task.getPeopleAssignments().getPotentialOwners()
                .add(new User(assignTo));
    
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top