Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to Persist an INSERT Query to the Database During a Workflow Post Function?

André Pereira
Contributor
November 27, 2024

We are performing some operations during a workflow post function.

As part of this process, we create a record in the database. However, the record appears to be only held in memory and not immediately written to the database. The actual database insert happens only after the workflow execution is completed.

Is there a way to ensure the data is inserted directly into the database during the post function, without waiting for the workflow to finish?

Thank you 
Regards

Paulo

1 answer

0 votes
ChristopherChilds
Contributor
December 3, 2024

How are you implementing the current solution? are you using scriptrunner?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events