rank (Data Outputs) Error

Hi Community

I have a process model that is started from an interface. A node in process model throws error 'rank (Data Outputs)' for an instance but when tried with similar inputs the node runs correctly after a minute.

Can you please suggest on this.

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Below is the expression rule used:
    a!localVariables(
    local!subcase: a!queryEntity_22r2(
    entity: cons!Demo,
    query: a!query(
    selection: a!querySelection(
    columns: {
    a!queryColumn(
    field: "subcaseid"
    ),
    a!queryColumn(
    field: "status"
    ),
    a!queryColumn(
    field: "createddate"
    ),
    a!queryColumn(
    field: "lastupdateddate"
    ),
    a!queryColumn(
    field: "subcasetype"
    )
    }
    ),
    logicalExpression: a!queryLogicalExpression(
    operator: "AND",
    filters: {
    a!queryFilter(
    field: "caseid",
    operator: "=",
    value: ri!caseId
    ),
    a!queryFilter(
    field: "subcasetype",
    operator: "=",
    value: ri!subcasetype
    ),
    a!queryFilter(
    field: "orgid",
    operator: "=",
    value: ri!orgid
    )
    },
    ignoreFiltersWithEmptyValues: true
    ),
    pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 1)
    ),
    fetchTotalCount: false
    ).data,
    if(
    length(local!subcase) > 0,
    local!subcase[1],
    "N/A"
    )
    )

    Screenshot of tomcat logs:

    When input values similar to the errored out instance are passed to run new instance of process model after one minute the node runs without error.