- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2016 03:07 PM
I have form on which i track who uploaded what attachment as in the screen capture below:
This works fine as long as the form is submitted but obviously it is no good if a user drags a file to the form. So, I registered an event as follows:
I then wrote a business rule:
and nothing happened....Where did I go wrong?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2016 07:42 AM
Yes as chuck mentioned, it should be an after BR. What is the field type of attachment_links and is it a custom field ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2016 07:01 AM
Thanks, are you recommending I set "when to run" to "Before"?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2016 07:06 AM
No, based on Abhinay's description, this is an after. you are looking for changes on the sys_attachment table and making an update to the related table once the attachment is committed/confirmed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2016 07:42 AM
Yes as chuck mentioned, it should be an after BR. What is the field type of attachment_links and is it a custom field ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2016 08:01 AM
Actually, it seems to update the record fields defined in the"Actions" section if when to run is set to "Display" but the script in the "Advanced" tab is not doing anything. I have to play with that further.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2016 08:25 AM
It should update. I have tested this on my end. I think the problem here is with the field name "attachment_links". This is not an OOB field, so it should start with u_