This is a function that can be registered as a callback and is invoked whenever a node has completed processing of a message and is returning control to its upstream node. It is invoked for every message propagated within the execution group where the callback was registered if the user exit state is active. The callback is registered by providing a pointer to the function as the iFpNodeCompletionCallback field of the CCI_UE_VFT struct passed to cciRegisterUserExit.
If the node completed due to an unhandled exception, then it returns with a reasonCode of CCI_EXCEPTION and that exception’s details can be obtained by calling cciGetLastExceptionData.
typedef void (*cciNodeCompletionCallback) ( CciDataContext* userContext, CciMessage* message, CciMessage* localEnvironment, CciMessage* exceptionList, CciMessage* environment, CciConnection* connection, int reasonCode);