Solved

BPA ETag error: what is the matter?

  • 20 May 2023
  • 6 replies
  • 352 views

Userlevel 7
Badge +21

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?

 

icon

Best answer by eqbstal 12 September 2023, 15:10

View original

6 replies

Badge +1

I had the same problem 

in PACKAGE SVC 

Get_Objid_From_Etag___(etag_) return null 

So that is the case for IFS Support

Userlevel 7
Badge +21

@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.

Badge +1

Ok in my case was helped

 

 

Userlevel 7
Badge +21

@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.

Userlevel 7
Badge +21

@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.

Userlevel 7
Badge +21

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