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 ?
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
i want to remove this status and setup anotherhow 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
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.
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.
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
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.