rbv_api.setViewed()
Purpose
Sets the viewed attribute for a specified
record and user. This method only works with native Platform objects.
Syntax
rbv_api.setViewed(objName, Id, userId, isViewed)
Parameters
objName
Integration name of object
Id
ID of record
userId
ID of the user who might have viewed the record
isViewed
true or false
Return value
None
Example
Marks the Case record as viewed by the current user.
rbv_api.setViewed("Case", {!id}, {!#CURR_USER.id}, true);