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

ProcessManagement: Error handling in TicketCreate transition action #3722

Open
bschmalhofer opened this issue Aug 20, 2024 · 0 comments
Open
Labels
question Further information is requested

Comments

@bschmalhofer
Copy link
Contributor

A process can create new tickets. This is done in Kernel/System/ProcessManagement/TransitionAction/TicketCreate.pm . In that action the following steps take place:

  1. The ticket is created
  2. Dynamic values are set in a loop
  3. The ID of the new ticket may be stored somewhere else StoreTicketIDDynamicField
  4. Links to other entities are created LinkAs

When a dynamic value can't be set then currently the action is aborted and we end up with a half finished ticket. The question is whether this can be improved. I see avenues there:

  • Ticket creation is rolled back
  • The failure of setting a dynamic value is accepted and the further actions can still take place.

This was noticed by @StefanAbel-OTOBO when a created ticket did not have the expected links.

@bschmalhofer bschmalhofer added the question Further information is requested label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant