Ai agent studio

garimakharb
Tera Guru

I am using OOB Ai Agent ' Predict HR services for case'  , and it is working fine, but while updating the work notes, it is providing by some ai agent key. User name is not coming such as 'AiHrAgent'. (refer the screenshots).
Can anybody suggest how to fix it?

3 REPLIES 3

rpriyadarshy
Tera Guru

@garimakharb  copy this SYS id and look into SYS_USer Table its pointing to which User?

 

Check Your AI Agent’s “update work notes” step is stamping the journal entry with the Agents user’s sys_id (typically because the script/flow is using gs.getUserID() / passing a sys_id into the journal API) instead of a username (user_name); when the Activity formatter can’t resolve that value to a user display name, it shows the raw sys_id (as in your screenshot).
 
Before that please repair all Now Assist Plugins and see how it goes.
 
Regards
RP

garimakharb
Tera Guru

This is not the sys_id of user I have checked that.

Can you check the Tool which is writing the work notes in This case? See in tool the Work-Notes write Statement which is done in SYS_JOUNAL Table.

 

The system also maintains logs and execution records, which may include sys_ids associated with each action. Useful tables for tracking and debugging AI agent activity include sys_gen_ai_log_metadata, sn_aia_execution_plan, sn_aia_execution_task, sn_aia_message, sn_aia_tools_execution, and sys_cs_message.

 

Regards

RP