Highlighted
Super Contributor.
Super Contributor.
401 views

How to automate a screlation batch, between SD and 1 RQ or 1 IM

Jump to solution

Hi experts,  i'm working with SM 9.34 and a chatBOT with API Rest that creates interactions (SD) identified as "autogestion".  Some of that SD's are also identifided as "RECLAMO" and the RQnumber or IMnumber that must be related with the interaction.  I need to automate the "screlation" between an interaction (SD) with the RQnumber  or  the IMnumber  collected by the chatBOT
There's a few amount of that kind of interactions (50 per month) :
SD "RECLAMO" a RQnumber
SD "RECLAMO" a IMnumber

Nowadays the relation is made later manually but I need to automate it and I don't know how

Perhaps may be a scheduled script that inserts a record in the screlation table (I add an image as an example)

Any suggestion will be appreciated.  Thanks in advance.

Nora

Good questions will have Good answers
0 Likes
1 Solution

Accepted Solutions
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to automate a screlation batch, between SD and 1 RQ or 1 IM

Jump to solution

I've not worked with a chatbot so I've no explicit knowledge what type of data it produces. But sure, it's possible to create screlation records by Javascript, if that's what you're looking for.

I'm not sure you need scheduling at all, you could add a call to create a screlation record to interaction's "post add" trigger? "Post add" ensures that screlation is not added too early.

This thread has an example how to create screlation record by code:

https://community.softwaregrp.com/t5/Service-Manager-Service-Center/creating-records-in-screlation-table/td-p/1068130

 

---
Moving on, this account is no longer active. Best regards, Kelalek
- So Long, and Thanks for All the Fish

View solution in original post

1 Reply
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to automate a screlation batch, between SD and 1 RQ or 1 IM

Jump to solution

I've not worked with a chatbot so I've no explicit knowledge what type of data it produces. But sure, it's possible to create screlation records by Javascript, if that's what you're looking for.

I'm not sure you need scheduling at all, you could add a call to create a screlation record to interaction's "post add" trigger? "Post add" ensures that screlation is not added too early.

This thread has an example how to create screlation record by code:

https://community.softwaregrp.com/t5/Service-Manager-Service-Center/creating-records-in-screlation-table/td-p/1068130

 

---
Moving on, this account is no longer active. Best regards, Kelalek
- So Long, and Thanks for All the Fish

View solution in original post

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.