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

carlj
Tera Expert

Hi guys,

I have been looking into this and have a list of all the methods but not idea how to use them as we know they are undocumented.

Im trying to understand the route to integrating into workspace agent chat from a external application.

There is one method that im looking at:

sn_cs.VASystemObject.createConversation() - this is kicking off the whole process and creating the items (not sure how to set any params):

 

insertinteraction1

insertsys_cs_conversation_task1

insertinteraction_json_blob1

insertsys_cs_conversation_member1

updatesys_cs_conversation1

 

sn_cs.VASystemObject.enqueMessage() - i am guessing this is the function to send the message to the VACS server but can't figure out the params.