Skip to main content
Solved

BPA ETag error: what is the matter?


eqbstal
Superhero (Partner)
Forum|alt.badge.img+21
  • Superhero (Partner)
  • 677 replies

I have started of with a rather simple workflow and kept expanding it. Until I hit an error that I just can't put my finger on. When using the flow in the place where it should be triggered, I now get an error: “ETag is incorrect”.

I've noticed that ETag is shown at the elements, at least most of them, in the bottom. The help text on ETag goes along the line that one can override it so the flow continues. I've left the override ETag to the default of unchecked. I got the mentioned error message. For a couple of elements that I've been adding lately, I have also tried to use the Override ETag option and turned it on. After deployment I still get the error that the ETag is incorrect.

Next was to turn on the network debug of Bing (yes, I did the same in Chrome) and it gives me the following error:

Still no clue in this one for me. I understand, that something is wrong. I see that something is not working correctly for the projection SalesQuotationHandling (this is set up in the Projection Action Information of the workflow). Workflow Timing has been set to Before.

No Event Action Information has been added.

I'm not a developer, so can't get to the database to maybe get a closer look (although I don't think that would help me).

ORA-20110 is a global catch for any error as far as I understand, so that doesn't help me.

Does anyone have an idea what the error ETAG_INCORRECT means?

 

Best answer by eqbstal

While I didn't get it to work using a delete, is was possible to prepare a call ...DetachStep()

Using that it works. It still bothers me that the delete function is not working. Anyway I have it working now.

View original
Did this topic help you find an answer to your question?

6 replies

Forum|alt.badge.img+1
  • Do Gooder (Customer)
  • 5 replies
  • May 25, 2023

I had the same problem 

in PACKAGE SVC 

Get_Objid_From_Etag___(etag_) return null 

So that is the case for IFS Support


eqbstal
Superhero (Partner)
Forum|alt.badge.img+21
  • Author
  • Superhero (Partner)
  • 677 replies
  • May 25, 2023

@szambur I don't have access to the svc packages, but being a former PL/SQL api builder, I have no problems reading and understanding what you/the systems mean.

Thanks for sharing this information/screenshot. Now back to the drawing/workflow board to get the objid_ in place.


Forum|alt.badge.img+1
  • Do Gooder (Customer)
  • 5 replies
  • May 26, 2023

Ok in my case was helped

 

 


eqbstal
Superhero (Partner)
Forum|alt.badge.img+21
  • Author
  • Superhero (Partner)
  • 677 replies
  • May 26, 2023

@szambur Thanks for the detailed information. I have to check this against the workflow. When a workflow runs into an error, it doesn't say at what task/activity. So this will take me some time to check it.


eqbstal
Superhero (Partner)
Forum|alt.badge.img+21
  • Author
  • Superhero (Partner)
  • 677 replies
  • August 3, 2023

@szambur I saw the svc coding and noticed the line:

if (etag_ = '*’) then

Following that route I have overridden the etag in the Delete Approval Step (see below), that didn't resolve anything.

Frankly, I don't want to go via the PostMan path as I think this should just work in IFS.

I've attached the flow for those who want to experiment, or help me out. Any idea is welcome.

Flow is easy with some hardcoding to delete step 30 out of approvals on Sales Quotation. Approvals as steps from document routing approval.

Using the inspect functionality in the workflow design, all seems to go well.


eqbstal
Superhero (Partner)
Forum|alt.badge.img+21
  • Author
  • Superhero (Partner)
  • 677 replies
  • Answer
  • September 12, 2023

While I didn't get it to work using a delete, is was possible to prepare a call ...DetachStep()

Using that it works. It still bothers me that the delete function is not working. Anyway I have it working now.


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