RESTful schedule instance ID do not match with instance PID in CMC Instance details

10-11  Source: Network gathering  Views:4 

Advertisement
SAP BO 4.1 sp1
I'm using the RESTful Web Service API to schedule a Webi report with the following API:
http://<server>:<port>/biprws/infostore/<documentId>/scheduleForms/now
In the response, I get the Location in order to retrieve the scheduled
resource's instance id (<instnceId>) and to use it to monitor the
resource's status, using the API:
http://<server>:<port>/biprws/raylight/v1/documents/<documentId>/schedules/<instanceId>
In the SAP Business Objects Central Management Console, I'm looking
for a
reference to this <instanceId>.
From the resource's history I found in the "View->Instance details"
section, a PID that doesn't correspond to the <instanceId> retrieved by
the API.
Why the 2 IDs don't match?
Thank you
Hi Riccardo,
The PID in the status details is not the SI_ID of the instance, but rather the Process ID of the AdaptiveJobServer that ran the job.  This is a child process of the AdaptiveJobServer that is created run the schedule jobs.  (you can see the Process ID of the java.exe process in Task manager).  If the machine is under load, several child job servers can be created.
I'm not aware of any way to get the SI_ID of the instance in the CMC, but you can get the SI_CUID from the document link.  This will match the CUID of the instance if you return its properties (or ../infostore/<documentId>/children ) using the Rest APIs
Dan
Related articles