Skip to main content
Question

BPA/Workflow : Projection update error 23R1

  • September 29, 2023
  • 3 replies
  • 221 views

Forum|alt.badge.img+4

I have a workflow update operation and throw an error saying object not found but same object possible to retrieve using read operation.

 

 

 

Any idea for this? Thank you in advance

https://community.ifs.com/ifs-manufacturing-engineering-and-product-design-team-employees-partners-only-156/bpa-workflow-projection-update-error-26477

referred above also but no luck

3 replies

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

I think your error might be coming from your nested entity, that whatever value the variable GetPersonId has does not exist.

 


Forum|alt.badge.img+4

HI @AussieAnders ,

 

Thank you for the reply,

That value is fetched from projection task in initial steps. And I tried hardcoding the values in the update task also but no luck  


BawTrishM
Sidekick (Partner)
Forum|alt.badge.img+6
  • Sidekick (Partner)
  • 17 replies
  • February 9, 2024

Hi @Kavinda Hellarawa ,

Can you please try the following :
1. Check whether the Read Collection and Override ETag are both unchecked inside your Read Element ?
 

 We found that updatading a record through BPA Projection Elements require a Read. Probably to get the Etag.

2. Inside your Update Projection Element, move the Company and AuthorizerId parameters to the “Nested Entity Parameters”. 

See the below example where the parent parameters are defined in the Nested Entity parameters. Seems to work correctly.

 


If this does not work, can you try checking the “Upsert” or switching to a Create action and see whether an error is still generated ?

Regards,
Trishen


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