How to get the nowBotID & is it configurable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2022 02:34 AM
How to get the nowBotID ? which is sent with the request from Inbound Rest Endpoint
https://<instance-url>/api/sn_va_as_service/bot/integration
Is nowBotID configurable, Can we pass our own ID?, And how to access it at the Outbound Response ?
Inbound request Body:
My Outbound Response at my endpoint:
{ "requestId": "asd2423-sda23-qwe23-we25", "clientSessionId": "", "nowSessionId": "", "message": { "text": "SENDING FROM POSTMAN", "typed": true, "clientMessageId": "ABC-123" }, "userId": "beth.anglin", "body": [ { "uiType": "OutputText", "group": "DefaultText", "value": "I am sorry but I didn't understand your request.", "maskType": "NONE" }, { "uiType": "OutputText", "group": "DefaultText", "value": "Please try giving me your request in a different way. I'm currently better at understanding short sentences.", "maskType": "NONE" } ], "score": 0 }
- Labels:
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2023 01:42 AM
@Rahul Kumar3 , I am able to replicate the issue. If i use the same userId for both provider applications. it is when the records is created by Guest user. Which inturn causing some process to not work correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2023 01:53 AM
Are you also using the same message_auth record for both provider_application?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2023 01:59 AM
No I am not using same message_auth profile. It is different for both.
I was able to resolve the issue. I think by default system Links account based on email Id of the user. So in table provider_user_map it is adding single record for each user specific to a single Provider application. I have manually added the record in table provider_user_map for both provider application for a single user. After this it started working fine. I think servicenow need to check on this in future releases. My instance is san diego version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2023 02:15 AM
What version of VA API are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2023 04:30 AM
I am using Virtual Agent Api 3.1.0