[Case Management framework] Case Management Framework Case Definition not valid
Question
Forge component by OutSystems R&D

I followed this path* to start with a casemanagement app and generated a GUID (version 4) for The CaseDefinitionID, but when saving a Case, it has an error saying that the DefinitionId (the GUID) is not valid.  

The error happens in the action

Case_Initialize


I used this to assign a value for the CaseDefinition

TextToIdentifier(Entities.CaseDefinitionConfiguration.CaseDefinition)

But I am not sure about The GUID either.....

Any one an Idea?




Hi Jeanette,

I have run into that problem before, and it's usually caused due to the the configuration timer not having run beforehand (the Case Definition needs to exist in the database before creating an instance of it). Make sure that you have followed the instructions as outlined here, and make sure that you have the Bootstrap configuration Timer set up in your CS module to run when published:

Also, a couple minutes after publishing again, verify that it has run successfully by going to Service Center > Monitoring > Timers, and you should see something like the screenshot below if everything happened successfully.


Let me know if that helps.

I checked the timer. I activated it manually. It has run. Also I see the record in the database. Tested creation of my entity. No success. After that I went checking if did not forgot something. Nothing.

But then, another time published. And after a while tested agina and then it worked.

Actually I did not change anything....

Thanx for your help!!! 

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