Record Name does not get updated when change is done by a tr

Posted by Rollbase User on 11-Dec-2010 21:12

I used this name template for the record name: {!Type}-{!Product_Number} There is a possibility that the "Type" field will be changed to a different value when a user edits the record. I noticed that when I manually change the "Type" field to a different value then save it, the record name gets updated. But when I use a trigger to change the "Type" field to a different value, the record name does not get updated.

All Replies

Posted by Admin on 12-Dec-2010 11:45

I suggest you create another trigger to update record's name.

Posted by Admin on 17-Aug-2012 10:07

I can't find a way to automate updating the record's name with a trigger. Was this feature disabled?

Posted by Admin on 17-Aug-2012 11:37

First, welcome back.



I'll try to address the issue in the next release.

Posted by Admin on 17-Aug-2012 17:14

Hello,



If you disable the name template (Empty the field) your trigger will work.

In your trigger, return by default {!type} - {!product_number} and in a special case return whatever you want !



Matthieu

Posted by Admin on 23-Aug-2012 11:20

The issue is fixed now.

This thread is closed