Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Agentry - conditionally transmitting transaction data to oData service

My transactions will be transmitted to the backend database via an oData service.  However, I only want the transaction to be transmitted to the backend under certain conditions (based on other client data), otherwise the transaction needs to remain on the client device. It seems as though each time a transmit is performed Agentry tries to send all transaction data. I'm looking for a way to specify a "transmit" Rule at the transaction's Data State Step or Server State Step, but don't see a way to do this. Is there a way to conditionally send transactions?




I was able to accomplish this by removing the server update steps from the transaction that the user updates, and then I created a separate 'staging' transaction that has the server update step.  I conditionally add data into the staging transaction as the first step of the transmit so only the transaction data that is ready to send to the backend gets transmitted.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question