30
Views
4
Comments
[CMF case management framework]: Case Definition [GUID] is not valid

I am implementing CMF on an application and I have followed all the steps given in the documentation but it is throwing below error upon case initialization. 

I have also downloaded the .oap file given in the lesson matriel of this training but it is also throwing same error. (.oap file is attached)


NOTE: I am unable to install CMF from forge on my personal env since its option is not available for personal env.


Things I tried to fix:

  1. Updating the GUID of existing CaseDefinitionConfiguration record but it does not allow to changes the primary key of the record.
  2. Deleted the CaseDefinitionConfiguration table and created a new record with name CaseDefinition with new GUID, but it also did not work.

It appears that something is related to env since the downloaded .oml file given in the lesson matrial is also throwing same error.

2.4 Request Portal.oap
2024-06-23 12-44-04
Adnan Aboobaker

Hi Umar Shafeeq,

To address your request, please check the following in your OutSystems application:

  1. Look for a CaseDefinition record in the 'CaseDefinition' entity with the specific GUID you're interested in.
  2. If such a record exists, verify if its Status is 0.

Let me know the results of these checks, and we can proceed from there based on what you find.

UserImage.jpg
Umar Shafeeq

Hi Adnan Mohammed,

In CaseDefinitionConfiguration table, we do not have any field called "Status" as per OutSystems documentation. 
Do we need to create a new field Status or I need to validate its value in some other table/location? 
Please guide.


Here are the fields available (I hide CaseDefinitionId field)

2024-06-23 12-44-04
Adnan Aboobaker

No Umar. Not that. 'CaseDefinition' table in CaseDefinition_CS Module

UserImage.jpg
Umar Shafeeq

In Case 'CaseDefinition' table in CaseDefinition_CS Module, Status Id is 2.


And there is no record in CaseDefinitionStatus table for Status Id 0


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.