Case decision throwing 500 error

Hello

Case decision api working previously now it’s stop working, can you please check the issue and let me know if there is anything needs to be changed from my side @Eldho @Sam @NashitaAfrah

https://alpha-pt.neutrinos-apps.com/caseservice/case/instance/decision

{

“cid”: 4368,

“taskId”: 4776,

“userName”: “himanshu.sahu@expleogroup.com”,

“variables”: {

"loanOfficerDecision": "APPROVED"

}

}

@hsahu Could you please verify that the process variables and conditions match the logic defined in your BPM flow? Also, can you confirm that you are currently working on the correct task?

Yes,

attached Case instance response and process variable screenshot for your refrence

[

{

    "caseInstance": {

        "cid": 4368,

        "piid": 5186,

        "source": "-",

        "description": "-",

        "created_at": "2026-06-11T20:03:11.384Z",

        "updated_at": "2026-06-11T20:05:13.302Z",

        "case_last_updated_at": "2026-06-11T20:05:13.300Z",

        "status": "New Case",

        "cdid": 129,

        "processSLA": "-",

        "caseDisabled": **false**,

        "caseData": {

            "cidid": 4368,

            "data": {

                "loanDetails": {

                    "emi": 28286,

                    "loanType": "Home Loan",

                    "loanAmount": "900000",

                    "loanTenure": "36",

                    "creditScore": 800,

                    "interestRate": 8.2,

                    "riskCategory": "LOW_RISK",

                    "purposeOfLoan": "Home loan",

                    "debtToIncomeRatio": 35

                },

                "workflowData": {

                    "currentStage": "CREDIT_MANAGER_REVIEW",

                    "applicationStatus": "SUBMITTED"

                },

                "applicantInfo": {

                    "dob": "2000-07-07T18:30:00.000Z",

                    "email": "sarath.kumar@neutrinos.com",

                    "gender": "male",

                    "mobile": 3245678654,

                    "address": "jayendra ganj",

                    "applicantName": "Jagu",

                    "applicationId": "LN_2026_1781208185427"

                },

                "employmentDetails": {

                    "employerName": "Expleo",

                    "monthlyIncome": "80000",

                    "employmentType": "Salaried"

                }

            },

            "created_at": "2026-06-11T20:03:11.384Z",

            "updated_at": "2026-06-11T20:03:11.384Z"

        },

        "signal": \[\]

    },

    "taskInstance": {

        "taskId": 4776,

        "taskName": "Loan Officer Review",

        "taskStatus": "INPROGRESS",

        "currentProcessInstanceId": 5186,

        "parentProcessInstanceId": 5186,

        "metadata": {

            "containerId": "Loan_flow_1.0.0-SNAPSHOT",

            "taskSubject": "",

            "taskDescription": "",

            "taskOwner": "himanshu.sahu@expleogroup.com",

            "createdOn": "2026-06-11T20:03:11.418Z",

            "potOwners": "himanshu.sahu@expleogroup.com",

            "taskDelegatedTime": "2026-06-11T20:05:13.176Z",

            "groups": \[

                {

                    "name": "loanOfficer"

                }

            \]

        }

    }

}

]

Hello @hsahu ,
The issue is occurring because the value entered in the Loan Officer Review human task is not being mapped back to the process variable (loanOfficerDecision). As a result, the workflow cannot access the decision made in the task and fails to proceed correctly.

To resolve this, please update the Loan Officer Review task in the BPMN designer and add an output data assignment that maps the task output to the process variable loanOfficerDecision. Once this mapping is added and the workflow is redeployed, the issue should be resolved.

Hi @Sam ,

Yes, I have verified the BPM process variables and gateway conditions against the logic defined in the BPM flow.

Currently, the UW Review task is working after correcting the gateway conditions and process variable mapping. The uw_approved variable is passed from Alpha Case Decision and the BPM gateway now evaluates it correctly.

For the second human task, the OPS Review task is getting created successfully in Business Central after UW approval. I can see the process has moved from UW Review completed to OPS Review entered. However, I am facing an issue while assigning the OPS Review task from the Alpha Admin Portal, where the user list is not loading due to /group/fetch-users returning 404 Not Found.

@enochdpm This issue may be occurring because the group was created in Alpha, but your username has not been assigned to that particular group. Could you please check the Alpha Admin Portal and verify whether your user account has been added to the group?