You are viewing limited content. For full access, please sign in.

Question

Question

If I Change a Metadata Field Type Do I need to Republish Workflows?

asked on October 15

I have a few different fields in my repository that need the field type changed from text to numeric. I understand that there may be data loss, and I am already taking step to address that.

My question is, if I change the field type do I need to worry about any of my workflows that use those fields? Do I need to refresh or republish them?

0 0

Answer

SELECTED ANSWER
replied on October 15

If you're just using them in Assign Field Values, then it's not necessary, the Laserfiche Server will enforce the new type. Workflow also does attempt to fit things into formats even when their data type doesn't match, so you probably don't have to review value formatting (for ex, if you have a text field with YYYY-MM-DD date formatting, that's expected to give you a valid date if you start out with "10/15/2025" because the value is a proper date even though the field is a text field).

If you are using them in conditions, then the data type is based on the left-hand side of the condition, so you might want to check and republish those as operators may change. It really depends on the type of conditions you use. Something like "field value matches [regex]" wouldn't be impacted, but a "field value greater than 500" might be since it would go from alphabetic sort to numeric sort. Though, with the field going from text to number, it's less likely you had the latter type of conditions. 

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.