Skip to main content
Question

Marking customer released order as delivered with workflow


Forum|alt.badge.img+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

Forum|alt.badge.img+9
  • Hero (Employee)
  • 132 replies
  • October 13, 2023

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.


Forum|alt.badge.img+10
  • Hero (Partner)
  • 203 replies
  • October 13, 2023

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


Forum|alt.badge.img+9
  • Hero (Employee)
  • 132 replies
  • October 17, 2023

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


Marcel.Ausan
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 1273 replies
  • October 17, 2023

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

 


ashen_malaka_ranasinghe
Hero (Employee)
Forum|alt.badge.img+12
Marcel.Ausan wrote:

@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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings