SetContext

SetContext#

SetContext

The setContext activity is used to set the nJAMS log context from the current process instance. No event will be send.

The setContext activity is used to set a different nJAMS log context. For example, if you want to overwrite the correlation id in order to correlate multiple dependent process instances by using the same correlation log id, you would use setContext.

Each nJAMS LogEvent activity (LogInfo, LogSuccess, LogWarn, LogError) lets you set the current nJAMS log context, but it is not always desired to send a log event, when you only want to set context information.