92
Views
7
Comments
Solved
Case Management Framework - Case_CloseActivity Status is not valid for the status set

Hi,

 using the OutTracker im trying to do Case_CloseActivity with a new status but encountering "Status is not valid for the status set". I've tried adding the status to the CaseStatusConfiguration. Is there another Entity that needs to be properly configured for this to work ?

Action1.PNG
CaseStatusConfig.PNG
2018-10-29 08-31-03
João Marques
 
MVP
Solution

Hi Justin,


With Case Management Framework, you define your configurations which are sent and persisted in the Case Management Framework internal tables.

So what you see in CaseStatusConfiguration is not the status entity in which Case Management Framework relies on but instead the CaseStatus entity in CM_CaseDefinition_CS module:


These configurations are setup on Case Management Framework via the SetupCaseManagementApplication service action which is called on the timer:


Given the explained above, this is not being set up successfully and you can check the status in the table I shared above.

And check Service Center logs / debug to see why this Service Action is not running successfully-


Kind Regards,
João

UserImage.jpg
Abduerhman Salama

i want to remove this status and setup another
how to remove it from casestatus entity 
to run time with new statuses
___________________________________________________
i do it because i have more than one with same status and i want to use the same status entity

UserImage.jpg
Umar Shafeeq

I am experiencing the same issue, not sure how can I add the record in the CaseStatus table ( added under CM_CaseDefinition_CS ) for my CaseDefinitionId.


UserImage.jpg
Umar Shafeeq

I am experiencing the same issue, not sure how can I add the record in the CaseStatus table ( added under CM_CaseDefinition_CS ) for my CaseDefinitionId.


2018-10-29 08-31-03
João Marques
 
MVP

Hi Justin,


You need to run the Timer_SetupOutTracker (in the OutTracker_CS module) to reset your configurations, and the new ones to be taken into account.

Check however if the flow is going over the protection If, in the image below:


It is probably preventing the re-setting of configurations if there are some configurations set up already, so you might need to delete some data before setting it up again.


Kind Regards,
João

UserImage.jpg
Justin Goyanko

Hi @João Marques ,


i checked and it seems the Timer does run on every publish and updates the CaseStatusDefinition entity


upon checking my new status can be seen in the Timer's aggregate



and still on trying the code below it still gives out the "status is not valid.." error

2018-10-29 08-31-03
João Marques
 
MVP
Solution

Hi Justin,


With Case Management Framework, you define your configurations which are sent and persisted in the Case Management Framework internal tables.

So what you see in CaseStatusConfiguration is not the status entity in which Case Management Framework relies on but instead the CaseStatus entity in CM_CaseDefinition_CS module:


These configurations are setup on Case Management Framework via the SetupCaseManagementApplication service action which is called on the timer:


Given the explained above, this is not being set up successfully and you can check the status in the table I shared above.

And check Service Center logs / debug to see why this Service Action is not running successfully-


Kind Regards,
João

UserImage.jpg
Abduerhman Salama

i want to remove this status and setup another
how to remove it from casestatus entity 
to run time with new statuses
___________________________________________________
i do it because i have more than one with same status and i want to use the same status entity

UserImage.jpg
Umar Shafeeq

I am experiencing the same issue, not sure how can I add the record in the CaseStatus table ( added under CM_CaseDefinition_CS ) for my CaseDefinitionId.


UserImage.jpg
Umar Shafeeq

I am experiencing the same issue, not sure how can I add the record in the CaseStatus table ( added under CM_CaseDefinition_CS ) for my CaseDefinitionId.


UserImage.jpg
Justin Goyanko

Hi @João Marques  

thanks was able to make the new status work now. Seems one has to execute the Timer again on the ServiceCenter and check whether the GUIDS are set correctly before running. Checking the CaseStatus helped.

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