When business rule triggered on table updated by is showing as username

abed123
Tera Contributor

Hi All,
We have business rule on one table. when the state of record moved to close, the child related list records has to be canceled. It is working but updated as showing as 'user name' instead of system. How can we set it as 'system'.

Thanks in Advance!

5 REPLIES 5

Nilesh Pol1
Giga Guru

Hi Nilesh,
Thanks for you reply.
I need updated by system. Instead of system it is showing as user ID of particular user/
Thanks!

Hi @abed123 

please verify by adding following script in you Br.

chlidtable.setValue('sys_updated_by''system');

Community Alums
Not applicable

Hi @abed123,

This functionality is OOB. You can try to create flow instead of business rule, there you can set run as system. 

Else in BR you can override the updated by  childIncidents.setValue('sys_updated_by', 'system');

 

If you find my answer helpful, please mark it correct.

 

Thanks,

Kanhaiya