Skip to Content

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?

Thanks

Tim

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 05, 2016 at 06:44 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded