Question

Marking customer released order as delivered with workflow

  • 12 October 2023
  • 5 replies
  • 118 views

Badge +1

Greetings


I have a scenario in which I would like to mark a customer's released order as delivered and perform some further tasks via BPM . I have created a Workflow BPM for this, after analyzing how the order is marked as delivered in IFS Cloud.

Whether I manually run the BPM through inspection or execute the Workflow using a specific command, it results in a database issue.

Any leads would be appreciated


5 replies

Userlevel 3
Badge +5

Hi, 

The error you are getting due to a known limitation in workflow where we cannot use APIs that contain rollbacks inside the workflow.

refer: 

Known Limitations - Technical Documentation For IFS Cloud

  • According to the Workflow transaction management policy, it is not allowed to call API's which having the implicit commit, rollback, savepoint or Pragma Autonomous blocks, through a Workflow.

Userlevel 4
Badge +9

@kamnlk  is there any alternative for these situations? Any suggestions how to work around this?

Userlevel 3
Badge +5

From workflow side there is no workaround as this is the indented behavior.

As a workaround you can check if there is another API(s) available that will cover the use case but does not contain rollbacks

Userlevel 6
Badge +15

@kvbe I would give it a try directly with DeliverCustomerOrders.svc

 

Userlevel 3
Badge +10

@kvbe I would give it a try directly with DeliverCustomerOrders.svc

 

This is also has a rollback. Isn’t it? So, is there any other API?

Reply