%Field.[Fieldname] is Read Only
The information in this article applies to product: e-Work 6.x
Issue
- A field (Field A) has a value and another field (Field has a 'When changed' event that modifies Field A's value. Another field (Field C) has a 'When changed' event that reads Field A's value. It is unclear whether the value that Field C reads is the value that was in Field A before it was modified by Field B or the value after it was modified by Field B.
Resolution
The retrieved value is the value that was originally in Field A.
When a number of 'When changed' events are fired when a form is submitted, the value returned by %Field.\[Fieldname\] is the value that this field contained before the form was submitted. If any of the formulas in any of the 'When changed' expressions change the value of a field, %Field.\[Fieldname\] retains the original value it had when the submit request was sent to the Engine until the Engine has completed all submit processing (which includes executing all 'When changed' expressions).
The same applies when a field that 'Has dependents' is changed. %Field.\[Fieldname\] retains the value it had before the field was changed until the Engine has completed all processing for the change and returned control to the client.
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories