There are cases in which the value of a field must be updated only by the application, through workflows. In this case, the object (Block Data) can be used to block the field, preventing editing by the user.

Option button (Block Data)

When you click the (Block Data) button, the following screen appears.

Screen of the (Block Data) object

This screen has two tables as described below:

  • Table Fields:
    This table contains all fields on the tab associated with the workflow that have not yet been locked.
  • Blocked Fields:
    This table contains all fields on the tab associated with the workflow that are locked for editing.

To block a field, select the desired field in the table (Table Fields) and double-click, or use the arrow buttons in the center of the screen.

Example of how to block/unblock fields

Field blocking example

Let’s use the example from the previous topic (Using the expression object to initialize fields) as a basis to demonstrate how to block fields. In that example, the fields (Owner, Start Date, Due Date and Follow-up) were initialized during the button event (New). Now, in addition to initializing these fields, we will also lock them for editing.

Example of using Block Data object to block fields

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment