Hello,
In a non-cdd Activity you can reset the data in the detail screen by dispatching the two Actions:
ActivityActions.reloadData
RelationshipActions.Commands.resetMutations
However, in a cdd-Activity none of the two Actions have an effect and no errors are shown. What am I missing (I can´t find anything equivalent in CDDActions either)?
I am asking because we want to offer the user the option to reset the dirty data in the detail screen by the click of a button.
Many thanks,
Werther
Hi @werther-veiled-cliff, there is no such option to reset the CDD changelog available due to complication. Could you create a ticket with some details, so this can be track better?
For the workaround, the simplest option I can offer now is to cancel the activity, then try to create it again. If the user wants to ignore the dirty state, then it would not cause a huge interrupt. This might be a problematic when you are resetting a child CDM activity, let me know if this is your usage.
Hello @tri-sheer-boulder ,
I will then reload the Activity.
Thank you! 