Umbraco Workflow implicit FlowType not detecting c...
# help-with-umbraco
a
I've got this weird issue where, using Umbraco Workflow, if I am a member of an approver group with Implicit FlowType configured, and I change a culture invariant custom (JSON) datatype property of a node's content, then click "Request Publish..." and publish my change, the custom JSON property value is not saved. I reload the page and the previous version is still there. Yet, if I just click "Save and Publish" the correct value is saved. I've debugged my custom data type and $scope.model.value is being correctly set before the "Request Publish..." action. The value sent to umbraco to save is not changed, however.
I believe this is related to the invariant culture. this issue goes away if I make the field culture variant. (yes I am using culture variants, but wanted this field to be invariant)
Aha, I think the issue is that workflow doesnt think anything changed - I must need to set some other property, maybe make it dirty
found the answer. In my case, my custom property does not have an input field, so dirty was never being set. In Umbraco 13, you can set the dirty property for the form element manually like so: $scope.propertyForm.$setDirty(); I call this when the value changes.
16 Views