My Oracle Support Banner

Is It Possible To Retrieve Current Task Id To Identify Which Component Triggered Current Transaction (Doc ID 2665674.1)

Last updated on MAY 06, 2020

Applies to:

Siebel Universal Customer Master - Version 15.9 [IP2015] and later
Information in this document applies to any platform.

Goal

Requirement is to retrieve Current Task Id to identify which component triggered Current transaction.

To get Current Task Id to retrieve Siebel Component Name which triggered current transaction to capture in logging table ,this will be capture current thread Id & Current Process ID using below piece of code in Siebel Business Script.

ProcessId = SElib.dynamicLink("libsscarsys.so", "getpid");
ThreadId = SElib.dynamicLink("libsslcos.so", "pthread_self");

As API are using Session token to trigger transactions in the system and each Session token corresponds to a unique Task Id in Siebel, hence this requires getting the particular unique Task Id to capture the component Name.

Is there a way to check or identify any library file or Method that is involved?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.