Skip to Content
avatar image
Former Member

Agentry - Reaching Local Transaction's Properties

Hi,

There is an action that defined for ServiceOrder object. I want to define an enable rule for the action according to value of a local transaction's property. To do this, I tried to reach the transaction via other transactions but  it did not work. I've also tried to select transaction as current transaction but it did not work either. How can I reach that transaction value?








Best Regards,

Serkan DEMIR

enablerule.png (13.9 kB)
ate.png (5.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 27, 2014 at 04:47 PM

    You cannot target a transaction like that.  You enable rule needs to target the object that the transaction modified instead.  The transactions are persisted on the client but are not accessible.  The targeting options are more for use within the transaction itself not externally to the transaction.

    You should be able to just substitute in the correct object reference to get the same result.

    If for some reason that status is not persisted on the object you may need to add the property to the object so it can be persisted and then used in your rule.

    --Bill

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      If the object is not updated until after you post the data and the object is redownloaded. are you using an "Apply" action step after you make the transaction?

      The Apply will save the transaction data back to the object so it has the new values.

      Stephen

  • Dec 27, 2014 at 09:59 PM

    Hi Serkan,

    As you say the transaction status property is not persisted in the object when the client works offline.

    So please make sure the followings are in place.

    1. The transaction status property is bound(mapped) properly to the required Object property.

    2. The apply step should be executed successfully before trying to access the the Object property in      the rule.

        * you can not access a local transaction as Bill says.

    Thanks,

    Sudhir.

    Add comment
    10|10000 characters needed characters exceeded