Opalis Workflow Status

Hi,

We are starting opalis policy using powershell from aspx page and we want to track its workflow staus. Is it possible to get?

Thanks in advance

Cheers

Hari

August 16th, 2012 1:51pm

Hello,

if you are Using Opalis (NOT Orchestrator) you can interact with the Operator Console using WSDL.

The WSDL gives you some Status Information for the Policies (like "getPolicyInstancesByPolicy") .

WSDL Policy Status

Regards,

Stefan

 

Free Windows Admin Tool Kit Click here and download it now
August 16th, 2012 2:54pm

Hello Stefan,

Thanks for your reply.. How can i track this in my aspx webpage?

I am looking at DB level, if the status of each object in a running workflow is updated in Opalis DB then it will be easy for me to retrieve its status into my web page by a query but i am not getting which DB table to track the workflow status. 

Can you help me with respect to this.

Cheers

Hari Rama K

August 16th, 2012 4:25pm

Hello Hari Rama,

ok, I was not sure if you use wsdl or SQL in your powershell.

I think this query will help you:

 
SELECT     POLICIES.Name AS PollicyName, OBJECTS.Name AS Objectname, OBJECTINSTANCES.ObjectStatus, OBJECTINSTANCES.StartTime, OBJECTINSTANCES.EndTime, 
                      POLICYINSTANCES.TimeStarted
FROM         OBJECTS INNER JOIN
                      OBJECTINSTANCES ON OBJECTS.UniqueID = OBJECTINSTANCES.ObjectID INNER JOIN
                      POLICIES INNER JOIN
                      POLICYINSTANCES ON POLICIES.UniqueID = POLICYINSTANCES.PolicyID ON OBJECTINSTANCES.InstanceID = POLICYINSTANCES.UniqueID
WHERE     (POLICIES.Published = 1) AND (POLICYINSTANCES.TimeEnded IS NULL)
ORDER BY PollicyName, OBJECTINSTANCES.StartTime, OBJECTINSTANCES.EndTime

Regards,

Stefan

Free Windows Admin Tool Kit Click here and download it now
August 16th, 2012 5:18pm

Thanks stefan,

Let me give a try and will update you...

August 17th, 2012 2:15pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics