New "/switchview" Xflow command not working when Xflow installed in a Secondary server

Document ID : KB000008934
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When using Xflow in a Secondary Service Desk server, if you go to a ticket, and then run on the command bar the new command "/switchview" to get open the ticket details form with the classic web interface, the command is not working as it open a new Xflow interface Tab instead of the classic web interface displaying the ticket detail form.

 

Environment:
Service Desk Manager r17 Conventional setup (Primary+Secondary) , where the Xflow component is running in a Secondary server.
Cause:

It is a configuration issue caused by an incorrect value in the casm.conf.js file in the Xflow installation in the Secondary Server.

I.e. the file shows the following:

ar casm_admin = { 
config: { 
api : { 
server:'http://APPSERVER1:9004' 
}, 
search : { 
server:'http://APPSERVER1:9006' 
}, 
sdm : { 
server : '' // - example:http://sdmurl:8080/CAisd/pdmweb.exe 
}, 
websocket : { 
server : 'ws://APPSERVER1:9008' 
}, 
collaboration:{ 
server:'ws://APPSERVER1:9014' 
}, 
locale:'en-US' 

}; 

As you can see above, the variable for "sdm" does not have a proper URL in place.

 

Resolution:

To correct this, follow these steps to update the casm.conf.js file located in your Xflow installation, i.e.:

..\CA\xFlow\APPS\UI\Apache24\htdocs\conf\casm.conf.js

Open the file in a text editor, and enter the appropriate URL for Service Desk into the variable as follows:

ar casm_admin = { 
config: { 
api : { 
server:'http://APPSERVER1:9004' 
}, 
search : { 
server:'http://APPSERVER1:9006' 
}, 
sdm : { 
server : 'http://APPSERVER1:8080/CAisd/pdmweb.exe'
}, 
websocket : { 
server : 'ws://APPSERVER1:9008' 
}, 
collaboration:{ 
server:'ws://APPSERVER1:9014' 
}, 
locale:'en-US' 

}; 

Save the file, and then recycle the Xflow service. 

After this the Xflow command "/switchview" should correctly open the ticket details form with the classic web interface

Additional Information:

 

For additional info, see this section of the documentation:

https://docops.ca.com/ca-service-management/17-0/en/using/xflow-analyst-interface/manage-work-from-the-xflow-analyst-interface/manage-tickets