- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 10:25 AM
we use a business rule update the attribute "Action Status" when user create the record, can we switch account in script to use the System user update the "Action Status" value?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 10:36 AM
Hi Tina,
Since you are working with a business rule, before your scripts you can add this line:
gs.getSession().impersonate("<sys_id of integration user>");
Hope this works!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 10:36 AM
When is you BR running. If it is a Before Insert business rule, it should keep the user as System.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 10:36 AM
Hi Tina,
Since you are working with a business rule, before your scripts you can add this line:
gs.getSession().impersonate("<sys_id of integration user>");
Hope this works!