Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
[
    {
        "ActivityId":  "7C5C8AA9A6A24F71B4F17F9C3E2350EE",
        "ModelName":  "ComplexFlow",
        "ModelId":  "A7DDB1648BEF4D2B8545BB173DBC2DB1",
        "Link":  "http://localhost/app/management/index.html#/processdetails/43F7FC4D83054CBAA4553804D9EBCEAA",
        "ProcessName":  "ComplexFlow 15",
        "ProcessId":  "43F7FC4D83054CBAA4553804D9EBCEAA",
        "Reason":  "No existing candidates or editorperformers.",
        "ActivityName":  "verification"
    },
    {
        "ActivityId":  "6BEDE7FD2CE64C92A47B607B4B5F1577",
        "ModelName":  "ComplexFlow",
        "ModelId":  "A7DDB1648BEF4D2B8545BB173DBC2DB1",
        "Link":  "http://localhost/app/management/index.html#/processdetails/5D18FD2C779C4524826681411AD4B8EA",
        "ProcessName":  "ComplexFlow 16",
        "ProcessId":  "5D18FD2C779C4524826681411AD4B8EA",
        "Reason":  "No performers configured.",
        "ActivityName":  "verification"
    }
]

Every JSON output element contains an attribute Reason stating the reason why this task has no users performers as well as some more attributes. Currently, these are the possible reasons:

  1. No performers configured: There are no performers configured for this task because the list of configured performers is empty.

  2. No existing performers: There are pe rformers configured for this tasks but none of them exist on the system.

  3. No resolved performers (only for core-service version 10.0 or higher): The task has included and excluded performers configured, but the list of resolved users is empty. This may happen because the task has the exact same list of included and excluded performers configured.

Script 1 version history

Script Version

Date

Author

Supported core-service version

Description

Download

2.0

15th Mar 2024

A-Team

10.0 or higher

  • support for core-service version 10.0

View file
nameSearchTasksWithoutUser_v2.ps1

1.4

15th Mar 2024

A-Team

up to 9.x

  • JSON ouput improved

View file
nameSearchTasksWithoutUser_v1-4.ps1

1.3

12th Feb 2024

A-Team

  • user http session with target system will be stored and reused so that only one session will be used for the whole script execution instead of one sesson for every request

1.2

28th Nov 2023

A-Team

  • renamed parameter processState to processStates

  • If only one task can be found, it will still be printed out as a JSON array with one element. Before it was printed out as a single JSON element.

1.1

10th Nov 2023

A-Team

  • implemented check if core-service is reachable and running

  • implemented check if provided user credentials are correct and if user has privilege MANAGE_PROCESSES

1.0

24th Oct 2023

A-Team

-

...