I have an environment with IMG 6.9.1 P16; I have implemented a generic SSH connector to handle commands via PowerShell Server. When there is an error during processing, AFX recognizes that there is an error and I can see that the output from the script is captured in T_AV_AFX_REQUEST_HISTORY in field DETAILED.
However if the script results in a zero (0) result code, the text that is returned by AFX is always "Request successfully processed" -- but the script executed by ssh outputs other information. Is there any way to change this behavior? Is there some other place that may capture the successful script output?
As a workaround, I was thinking about using "Command Output Parameters" -- but I'm not seeing a way to map the parameters to a variable for any capability except "Create an Account". So this doesn't seem to be a viable workaround for other capabilities, such as "Disable an Account".
Why is this needed? The script performs actions that need to be detailed in the CR or in an email (or other) communication back to admins and/or users.
Any ideas or suggestions are greatly appreciated. Thank you!
Ok I think I answered my own question; I found a Mule flow in the database that is responsible for the hard-coded success response: "Request successfully processed". The XML is in T_AV_AFX_TRANSPORT; this looks like core product functionality that I suspect would be overwritten during a patch or other software update.
So that leads to a follow-up question: is there a supported/documented way for a customer to create a custom "transport" for AFX? Cloning the template on the AFX menu in the IMG UI updates a different table (T_AV_AFX_CONNECTOR_TYPE).