Skip to content
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

DecisionResult should contain the decisionExecutionId #2296

Open
ThorbenLindhauer opened this issue Feb 14, 2019 · 6 comments
Open

DecisionResult should contain the decisionExecutionId #2296

ThorbenLindhauer opened this issue Feb 14, 2019 · 6 comments
Labels
scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI type:feature Issues that add a new user feature to the project.

Comments

@ThorbenLindhauer
Copy link
Member

ThorbenLindhauer commented Feb 14, 2019

This issue was imported from JIRA:

Field Value
JIRA Link CAM-9769
Reporter Q2R5dDB
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.
Has restricted visibility comments true

What is the desired functionality that you are missing?

When I evaluate a decision (manually by calling decisionService API), I get a result containing the outputs, but not the Id of the decision execution.

Which problem are you going to solve with this functionality?

I like to know the id to determine which rules let to the outputs. Mainly for analysis/testing, but also to jump to the historic cockpit view via reference.

Currently manual search of decision executions is the only option, there is no way to get the reference programatically.

Links:

@ThorbenLindhauer
Copy link
Member Author

This comment was imported from JIRA and written by user Q2R5dDB

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.


Oh, sorry, aus Versehen in SUPPORT aufgemacht, sollte ein reguläres CAM Ticket werden.
Ich scheine nicht schließen zu können, könnt Ihr umlabeln?

@ThorbenLindhauer
Copy link
Member Author

This comment was imported from JIRA and written by user B9qJZk6

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.


Hi Jan,

viele Dank für die Anfrage.
Falls dieses Ticket in einem Kundenkontext aufgemacht wurde, könnten wir es auch dem entsprechenden Kunden umhängen.
Falls nicht, werden wir das Ticket in ein CAM Issue umwandeln.

VG,
Tobias

@ThorbenLindhauer
Copy link
Member Author

This comment was imported from JIRA and written by user Q2R5dDB

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.


Bitte in CAM, wie gesagt, war falsch angelegt

@ThorbenLindhauer
Copy link
Member Author

This comment was imported from JIRA and written by user B9qJZk6

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.


Hi Jan,
alles klar, wurde erledigt.

VG, Tobias

@kmannuru
Copy link

Hello, I'm working on similar use case and I would like to work on this issue. Please help get this issue assigned to me. Thank you.

@kmannuru
Copy link

kmannuru commented Feb 9, 2024

Goal for the request

Update Evaludate Decision API to include decisionInsanceId in the response.
Current API that evaluates DMN decision : POST /decision-definition/key/{aKey}/evaluate
Current Response:
image

Proposed Solution

Add decisionInsanceId as the response parameter

Current api evaluates decision from ACT_RU_DECISION_DEF table for a specific key.
So we will have to join ACT_HI_DECINST table on DEC_DEF_ID_ column to get the decisionInstanceId and include in the api response.

Links
https://forum.camunda.io/t/retrieving-decision-instance-id/6039/11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:core-api Changes to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI type:feature Issues that add a new user feature to the project.
Projects
None yet
Development

No branches or pull requests

2 participants