sn_cs.VASystemObject methods

Srijan
Kilo Expert

Hi, 

what are the different sn_cs.VASystemObject methods? I came across 'sn_cs.VASystemObject.faultAbandonedConversations();'. What are the other methods that can be used? Is there any systemobject method to start a new conversation or switch to a new topic? Im trying to create a scheduled job.

1 ACCEPTED SOLUTION

Muralidharan BS
Mega Sage
Mega Sage

Hi Srijan,

Unfortunately we cannot see what functions are available in VASystemObject because it is not stored in our instance. I think they are managed in Java layer (not very sure). 

For swithing to new topic, yes there are two methods you can use, I have written an article on this sort, which may help you - https://community.servicenow.com/community?id=community_article&sys_id=c763b5b31b6a5410305fea89bd4bc...

You can only use only the vaSystem methods mentioned in this doc which are supported - https://docs.servicenow.com/bundle/orlando-performance-analytics-and-reporting/page/administer/virtu...

Thanks

View solution in original post

10 REPLIES 10

Muralidharan BS
Mega Sage
Mega Sage

Hi Srijan,

Unfortunately we cannot see what functions are available in VASystemObject because it is not stored in our instance. I think they are managed in Java layer (not very sure). 

For swithing to new topic, yes there are two methods you can use, I have written an article on this sort, which may help you - https://community.servicenow.com/community?id=community_article&sys_id=c763b5b31b6a5410305fea89bd4bc...

You can only use only the vaSystem methods mentioned in this doc which are supported - https://docs.servicenow.com/bundle/orlando-performance-analytics-and-reporting/page/administer/virtu...

Thanks

Okay thanks.

I have used both switchtopic() and topicDiscovery() in my virtual agent topics, but I dont think we can use them outside VA topics. 

Dont think ill be able to use them in the script for a scheduled job, right?

 

Yes you can use only in VA topics. 

There is not much we can use in scheduled jobs available. The article mentioned above are the methods. 

I havent tried this, so please try this in dev before you use, this is just my thought and may be I am wrong. If you are looking to switch topic outside of VA topics, the sys_cs_conversation holds the user conv flow, the sys_cs_conversation_task_list table hold the task for the respective topic used by the user in that specific conversation. 

Try to insert a conversation task with topic details etc through script and finally refresh the chat page. You may see the user topic switched to new one. 

Not sure again, but you can try. Thanks

https://community.servicenow.com/community?id=community_question&sys_id=4d4a2ae61b9a6490ed6c9979b04bcb6c


Please visit this question and give me your inputs.
Any help would be much appreciated