TextLog example

In this example, the TextLog business rule is used to automatically enter comments in an attribute.
The Requirements module contains a Text attribute named "Comments." When users add comments in this attribute, you want the TextLog business rule to automatically enter the user name and date to the Comment attribute.
  1. Add a new Text attribute that is set to be editable. Name the attribute "Enter a comment." Make sure that the Comments attribute is visible, but not editable. Otherwise, people might be confused about where to enter comments.
  2. In the business rule container attribute, enter the following business rule:
    =TextLog('Enter a comment',"Comments","sv,SE,")
  3. In the Enter a comment attribute, type a comment. The Comments attribute is updated and the Enter a comment attribute is cleared.
    The Comment attribute shows the comment

Feedback