Skip to main content
Question

BPA Workflow Commit

  • December 8, 2025
  • 5 replies
  • 55 views

Forum|alt.badge.img+7

Hello everyone,

I hope you’re doing well.

Does anyone have access to the 25R2 version and has tested a workflow with a commit procedure? Is this restriction still present in 25R2?

 

Thank you in advance.

5 replies

wahelk
Hero (Former Employee)
Forum|alt.badge.img+11
  • Hero (Former Employee)
  • December 8, 2025

Hi,

As  per the release notes in 25R2, it supports for pragma autonomous transaction with commit, rollback and save point. But have not tested yet what actually works and not.

Best Regards,
Wasana


Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • December 8, 2025

thank you. 

the documentation indicate that IFS BPA Workflows now support invoking APIs with Pragma Autonomous blocks in PL/SQL procedures and functions via IFS API tasks.

 

I was wondering how the non autonomous block will react?

 


wahelk
Hero (Former Employee)
Forum|alt.badge.img+11
  • Hero (Former Employee)
  • December 15, 2025

I think It may be the same as before with error.But not tested anything yet.

BR,

Wasana


Forum|alt.badge.img+7

Hi,

I’ve tested with the API ProjectProcurementHandling.ProjectMiscPartProcurementSet to update the SupplyOption but I’m having the same error about Savepoint, so, I think this is not working still or am I doing something wrong?

Application service update: 25.2.2

Framework service update: 25.2.2


Forum|alt.badge.img+3
  • Do Gooder (Employee)
  • January 27, 2026

Hi,

In your procedure, you have declared PRAGMA autonomous_transaction as shown below. Now it works because, since 25R2, it is allowed through workflows.

PROCEDURE Example_Procedure___
IS
PRAGMA autonomous_transaction;
BEGIN
-- insert sql
@ApproveTransactionStatement();
COMMIT;
END Example_Procedure___;

Here, I used a test projection and a test procedure declared with PRAGMA autonomous_transaction. When I debugged this, I found no issues.

However, if you use COMMIT in workflows without PRAGMA autonomous_transaction, like this:

PROCEDURE Example_Procedure___
IS
BEGIN
-- insert sql
@ApproveTransactionStatement();
COMMIT;
END Example_Procedure___;

without PRAGMA autonomous_transaction, according to the Workflow transaction management policy, APIs that have implicit commits, rollbacks, or save points cannot be called through a workflow. You will receive the error:

ORA-00034: cannot COMMIT in current PL/SQL session.