camunda-docs icon indicating copy to clipboard operation
camunda-docs copied to clipboard

Document that temporal values can now be stored in variables

Open korthout opened this issue 3 years ago • 6 comments

Current situation https://docs.camunda.io/docs/components/concepts/expressions/#temporal-expressions

The current date and date-time can be accessed using the built-in functions today() and now(). To store the current date or date-time in a variable, convert it to a string using the built-in function string().

This is no longer true from 1.4 onwards, due to https://github.com/camunda-cloud/zeebe/pull/8842.

Wanted situation We should make sure the documentation is clear about what happens to the result of temporal expressions. This includes checking the documentation for other places where similar things are stated.

Blocked by https://github.com/camunda/zeebe/issues/10307 We should solve this issue first. Depending on the direction we take with this bugfix the behaviour can differ.

korthout avatar Feb 28 '22 10:02 korthout

@korthout is this something @christinaausley could partner with you on to complete?

akeller avatar Dec 02 '22 19:12 akeller

Thanks for pointing it out @akeller 👍

IMO, this is something the team (zeebe process automation) should plan to work on. I've added it to our project board so that it will be part of our upcoming planning session.

❓ @christinaausley is there anything specific you'd like to see in these docs? If not, I propose that the team follows the regular process: write the documentation and then ask for your review.

korthout avatar Dec 05 '22 09:12 korthout

@korthout Agreed here. Loop me in where I can review, but in the meantime I'm also happy to assist with skimming the docs to locate relevant scenarios where it may be unclear what happens to the result of temporal expressions.

christinaausley avatar Dec 06 '22 23:12 christinaausley

We want to work on this soon because the feature is already available.

korthout avatar Dec 09 '22 09:12 korthout

Please note that we have an open issue that is related to storing temporal variables: https://github.com/camunda/zeebe/issues/10307. We may want to highlight this case in the docs.

saig0 avatar Dec 09 '22 09:12 saig0

Decreasing priority to later, in the process of revising all issues flagged as upcoming.

megglos avatar Jul 16 '24 08:07 megglos