Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3244

Human Task Reassignment fails with the error "Unexpected error during processing: Organizational entity already exists with [UserImpl:'test'] id, please check that there is no group and user with same id "

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.9.1.GA
    • 7.8.0.GA
    • jBPM Designer
    • RHPAM 7.8.1

    • False
    • False
    • CR1
    • +
    • Undefined
    • Workaround Exists
    • Hide

      You can put users in Groups field of user tasks and put groups in Users field.

      Show
      You can put users in Groups field of user tasks and put groups in Users field.
    • Hide
      1. Create simple business process with start -> User task -> end;
      2. In the User task properties click on Reassignments field and add:
        1. Select one user from the drop down Users list;
        2. Type = Not Completed;
        3. Period = 1 minute
      3. Set the Actor to the current user;
      4. Save the changes and deploy this process;
      5. Start the process;
      6. Navigate to the Task Inbox and there should be Task in the Reserved status for 1 minute;
      7. After 1 minute, this task should not be visible any more - so log out and log in to the Business Central using another user (that was configured in the step 2);
      8. Navigate to the Task Inbox and confirm that the task is there;
      9. Select "Claim and Work" from the available actions;

      Actual result

      The error message is shown:

      Unable to complete your request. The following exception occurred: "Unexpected error during processing: Organizational entity already exists with [UserImpl:'test'] id, please check that there is no group and user with same id ".
      

      Expected result

      No error messages are shown.
      It is possible to claim the task.

      Show
      Create simple business process with start -> User task -> end; In the User task properties click on Reassignments field and add: Select one user from the drop down Users list; Type = Not Completed; Period = 1 minute Set the Actor to the current user; Save the changes and deploy this process; Start the process; Navigate to the Task Inbox and there should be Task in the Reserved status for 1 minute; After 1 minute, this task should not be visible any more - so log out and log in to the Business Central using another user (that was configured in the step 2); Navigate to the Task Inbox and confirm that the task is there; Select "Claim and Work" from the available actions; Actual result The error message is shown: Unable to complete your request. The following exception occurred: "Unexpected error during processing: Organizational entity already exists with [UserImpl:'test'] id, please check that there is no group and user with same id ". Expected result No error messages are shown. It is possible to claim the task.
    • ---
    • ---
    • 2020 Week 40-42 (from Sep 28), 2020 Week 43-45 (from Okt 19), 2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30)

    Description

      Human Task Reassignment fails every time the user "test" attempts to work on this task. The error message is:

      "Unable to complete your request. The following exception occurred: "Unexpected error during processing: Organizational entity already exists with [UserImpl:'test'] id, please check that there is no group and user with same id ".

      It seems that every time the process is started, the user from the reassignment pop up window is added to the OrganizationalEntity table as a group.
       

      When downloading bpmn file for the user "test" I can see the following:

      <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_3g4t2g3yEeuWwfTnLJvAOA"><![CDATA[[users:|groups:test]@[1m]]]></bpmn2:from>
      

       

      So the user "test" is actually added as a group and vice versa (the group will be added as a user).
       

      Attachments

        Issue Links

          Activity

            People

              kgaevski@redhat.com Kirill Gaevskii
              rhn-support-bkramer1 Biljana Kramer
              Lubomir Terifaj Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: