-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add creation time to process instances #2260
Comments
This comment was imported from JIRA and written by user akwW3DR What is this name?This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.For external tasks I have a hacky workaround. I get the lock time by requesting the "lockExpirationTime" and than substract the lock time from the external task client. A lock time or create time without workaround would be awesome. |
This comment was imported from JIRA and written by user EQya0w4 What is this name?This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.That really is a hack, that results in wrong information in many cases. It only works if the task client locks it right after creation and only until that client finishes processing it. |
This comment was imported from JIRA and written by user akwW3DR What is this name?This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.Sure to get the create time it doesn't work like that. However if you only want to get the lock time for the current task in your external task client code it works quite well, because the "lockExpirationTime" is calculated when the "fetchAndLock" happens. fetchAndLockTime = lockExpirationTime - externalTaskLockDuration |
This comment was imported from JIRA and written by user @koevskinikola Hi EQya0w4, Thank you for the feature request. Adding a Can you provide more information on the use-case, and what is the gain of adding this information in the runtime table, or how much is the current overhead when querying the historic data? Best, |
This comment was imported from JIRA and written by user EQya0w4 What is this name?This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.For process instances our main use case is to retrieve a list of active process instances sorted by creation time. Everything is more complicated with external tasks.
We can't efficiently retrieve a single task, becuase there is no index on the task id. Having the timestamps on the active instances (the ones we need to operate on) would make life much easier for us (let us actually implement features...) |
This comment was imported from JIRA and written by user @koevskinikola Hi EQya0w4, Thank you for the nice explanation. I understand the use-case and requirement, so I will forward it for decision making. Best, |
This comment was imported from JIRA and written by user @ThorbenLindhauer Hello EQya0w4, We have discussed this feature request in our product management and agree that this would be a nice addition to the runtime APIs. Would you be interested to make a contribution? Best regards, |
@ThorbenLindhauer , Thanks and Regards, |
Hi @Nandanrshenoy, Thank you for your interest. Best, |
This issue was imported from JIRA:
What is this name?
This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.Context
User tasks have a "created at" timestamp.
I'm wondering why this is missing on other objects, most notably process instances.
You can access the data from the history, but it would be more efficient to just have it on the object itself.
User Story (Required on creation)
As a operator, I want to see the process instances create time.
Functional Requirements (Required before implementation)
Technical Requirements (Required before implementation)
Limitations of Scope
Hints
Links
Breakdown
Pull Requests
Dev2QA handover
The text was updated successfully, but these errors were encountered: