- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2016 02:14 PM
I have a "After" Business rule on "Insert/Update'
The below condition not setting the particular reference field.. I tried with setDisplayValue but it sounds like its not supported in scoped application, it seems..
current.development_team_developer = '2ed00a7b132e62008b5cb86f3244b0c8';
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2016 03:17 PM
Well, it's an extra update. If you know you want to execute the code why not do it before and not have extra updates occuring?
Also if it was a before rule, you wouldn't need current.update() in it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2016 03:06 PM
If you have are in an after rule, it doesn't automatically update the record.
you may have to place a current.update(); in there.
That's bad though because you now will have 2 updates to the record;
First things first, can this be a before rule? Is so it should work
Are you sure its not set? Goto the record, show XML and look for your field, does it have some value but no display? That would be that way if the record didn't exist or the sys_id wasn't proper.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2016 03:10 PM
I missed the update.. i found in another thread and i m doing the changes now.. I m using the :"After" business rule and after using the update, it worked..
I didnt get the second part in your msg.. Should it be good to have "Before" BR?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2016 03:17 PM
Well, it's an extra update. If you know you want to execute the code why not do it before and not have extra updates occuring?
Also if it was a before rule, you wouldn't need current.update() in it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2016 03:24 PM
Yes, It should be a before BR