I’ve already deployed the process in Business Central. Now I’m trying to connect it to Case Service. Unfortunately, the instruction endpoint described in this instruction no longer exists:
I’m trying to use a different endpoint /definition/fetch, but it’s not working. I’m sending screenshots.
Hello @pawelkarwat , Could you please specify which endpoint is not working?
The error you are seeing occurs because no case definition has been created yet.
You need to first create the process definition, then create the case definition, and only after that will you be able to create a case instance.
Hello @Sam,
I created and deployed a process in BPM, and the next step in the instructions is to invoke the endpoint /definition/fetch-by-id. However, this endpoint no longer exists, so I tried using a different endpoint, /definition/fetch, but it does not work for me. What am I doing wrong?
Hello @pawelkarwat ,
The /definition/fetch-by-id endpoint should be part of the BPM service. It appears that the Case service Swagger was opened by mistake.
Please navigate to the BPM service, complete the required steps there, and then proceed to create the case definition and process definition in the Case service
Thank you @Sam
I was not aware of the BPM Service. Thank you for your help. I am also having a problem with the Case Service when creating a Case Definition. The server returns a 401 ‘Invalid session’ error. I added most fresh Bearer token and process definition creation worked. Do you know what could be the reason?
Hello @Sam
It worked in Postman, thank you. I created a Case Type, but when I create Alpha project using that Case Type and upload my BPM process to the Processes section, I only see the standard ‘Admin’, ‘Approval’, and ‘Underwriting’ tasks. I defined additional tasks in my process. Is this working correctly?
Hello @pawelkarwat ,
If you have created a separate BPM flow that includes additional human tasks, those tasks should be reflected here correctly. Please check again to confirm whether there are any additional human tasks in the flow.
Also, verify that the ZIP file downloaded from the BPM is the correct one. Please re-check and verify all these points.
Hello @Sam
You were right I imported wrong zip file.
How can I assign my user to the proper groups to see new cases in the Alpha preview? I created a process with two tasks assigned to the “Operations” and “Underwriters” groups
@pawelkarwat ,
If you want to add users to a specific group, you must first create the group in the Admin section and then add the required users to that group.
If you want to manually assign tasks to a specific user, the Admin also has the option to reassign tasks to users.
@Sam
I believe I do not have access to the Admin section. Could you please assign me and hubert.mazur@decerto.com to the groups I mentioned, or grant us Admin access?
@pawelkarwat I have granted the admin role in the sandbox environment to both you and Hubert. You can access it by replacing cm with admin in the Case Manager URL. After that, you should be able to proceed with the remaining steps.
Thank you @Sam
I have one more question. I created a new case instance, but I do not see any new cases in the Alpha preview. Do I need to perform any additional actions? I also do not see any new task instances for my case. Is this expected?
@pawelkarwat The cases you created will be assigned to the groups that were configured during BPM flow creation. If you are a member of the assigned group, you will be able to view those cases in the Group Tasks section. You can also verify the same cases from the Admin section.