Unable to set value for retention in days in namespace

Hi ,until temproal 0.27.0 , i was registering my namespaces using RegisterNamespaceRequest and was passing the retention period in days.

After 0.280.0 update , the duration is changed to
com.google.protobuf.Duration

when i set the retention period, i see it as “Unknown” in the web ui.

can you please clarify if my usage is correct

.setWorkflowExecutionRetentionPeriod(com.google.protobuf.Duration.newBuilder()
.setSeconds(Duration.ofDays(config.getWorkflowRetentionPeriodInDays(5)).getSeconds()))

1 Like

ok this is probably another ui bug, i am able to see the value set through tctl namespace --list

Hey @madhu
I’m sorry we missed this post.
From your another post my understanding you have already switched to a newer versions (0.28+). As the “retention period” was fixed in the newer versions, it should be good now and i’m closing this issue

1 Like