on 12-27-2014 3:22 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.