Skip to main content

Hello,

I am trying to update the value VendorNo from the CustomerOrderSet with using the BPAs.

I have created below diagram:

In the first block I am reading customer order: 

In the condition block I am checking if the customer order is from the DE country 

In the 3rd step I am updating the VendorNo:

In last block I am Re Reading Customer Order

 

When I am Inspecting the Diagram with Customer Order Number the operation is successed and I am not getting any errors:

If I activate the workflow and open the Customer Order and query for orders I am getting this error:

 

Do you have any suggestion or ideas what I am doing wrong?

Hang on, you say when you “open the Customer Order”. What projection action is this enabled on? Read??


Hang on, you say when you “open the Customer Order”. What projection action is this enabled on? Read??

Dear @AussieAnders ,

Below you can find the Projection settings.

 


What’s the purpose of this workflow? To update the VendorNo field if the user has not entered a value? If so, changed Read to No, because that is triggered every time you fetch data from the service. The fetch has no payload, only query parameters, so no OrderNo would be passed to the workflow, hence the error.


Reply