How do you format the version string?
Hi,
I would like to get some hints or help with how I can format the version string depending on the lifecycle the document is in.
The document lifecycle state can either be in "In Work" or "Released" state and depending on this state I would like the version string in the document to be like the table below.
| LifeCycleState | Version |
|---|---|
| In Work | A.4 |
| Released | A |
I was figuring it would be easy to just to reformat the version string checking out the document to word by creating a soft attribute with a formula checking the condition of the lifeCycleState but I don't get it to work. The attribute formula that I have used look like this but result in a false statement when the state are known to be "In Work":
formula: lifeCycleState == "In Work" ? versionId : revision
Looking forward getting your ideas and hopefully a solution on my problem.
BR,
Mattias

