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

Pass task result to task after-callback #481

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

PunchyRascal
Copy link
Contributor

This allows after-task callbacks to access the task result.

This is useful for example when the callback wants to log the task result.

New Features

The Job class now has new property task_result that contains the task result (returned variables) after the task has been executed.

Deprecations

None

Checklist

  • [✅] Unit tests
  • [❔] Documentation

@CLAassistant
Copy link

CLAassistant commented Sep 17, 2024

CLA assistant check
All committers have signed the CLA.

@PunchyRascal PunchyRascal force-pushed the task_Result_2 branch 5 times, most recently from 084907a to f932aec Compare September 17, 2024 14:54
So that the callback can for example log the result
@PunchyRascal
Copy link
Contributor Author

PunchyRascal commented Sep 17, 2024

This change is needed because since commit 077a8b3 (#453) the Job.variables do not contain the task result

Copy link
Collaborator

@dimastbk dimastbk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@dimastbk dimastbk merged commit 9621591 into camunda-community-hub:master Sep 18, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants