Skip to main content

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

referred above also but no luck

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

 


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  


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