Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..
211 views

Disabling BSM -> SM updates

Jump to solution

Dear all,

 

BSM 9.22 - SM 9.33(i think)

we recently integrated SM to our BSM so we can "transfer control" to a ticket.

This works nicely, but BSM is updating tickets on SM side on event change, messing up the status or assignment groups.

We really can't have that and it was always intended to just be a "create and leave-be" solution for the tickets.

 

Is there any global toggle inside the groovy script where can just turn those off?

 

regards

Labels (1)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..
The update obviously. 🙂
I assume you mean:
/**

* Send the event updates.

*

* @param args contains the event changes to forward and any other parameters

* needed to forward the changes.

* @return true if the changes were successfully sent, otherwise false

* If false is returned or an exception is thrown, a retry will be made later.

*/

public Boolean forwardChange(ForwardChangeArgs args) {

return sendChange(args, args.changes, args.externalRefId, args.credentials)

}


Will it be enough if I just change this to

public Boolean forwardChange(ForwardChangeArgs args) {

return true

}

or is there anything else that needs changing?

View solution in original post

0 Likes
4 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert
turn off what? the updates or completely the integration?
for the whole integration just disable the integration in the connected server.
for updates you will need to modify the Groovy script and comment out the "updateEvent" method's content.
0 Likes
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..
The update obviously. 🙂
I assume you mean:
/**

* Send the event updates.

*

* @param args contains the event changes to forward and any other parameters

* needed to forward the changes.

* @return true if the changes were successfully sent, otherwise false

* If false is returned or an exception is thrown, a retry will be made later.

*/

public Boolean forwardChange(ForwardChangeArgs args) {

return sendChange(args, args.changes, args.externalRefId, args.credentials)

}


Will it be enough if I just change this to

public Boolean forwardChange(ForwardChangeArgs args) {

return true

}

or is there anything else that needs changing?

View solution in original post

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert
yes, this is it.
0 Likes
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..
Hoping this works, thanks for the help. 🙂
0 Likes
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.