Siebel Business Process & Functionality (MOSC)

MOSC Banner

Siebel GenerateReport Workflow

edited Nov 27, 2013 12:34PM in Siebel Business Process & Functionality (MOSC) 3 commentsAnswered ✓
 Hi
I am attempting to call BI Publisher from a button click.  I am trying to set it up so that it also stores the report as an attachment.

This is the code I am using:

try 
{
var BillingRunId = this.BusComp().GetFieldValue("Id");
        var BillingRunName = this.BusComp().GetFieldValue("Name");
        var svc = TheApplication().GetService("Workflow Process Manager");
        var psInput = TheApplication().NewPropertySet();
        var psOutput = TheApplication().NewPropertySet();
var psChild = TheApplication().NewPropertySet();
var bsPMANI = TheApplication().GetService("PRM ANI Utility Service");
var input = TheApplication().NewPropertySet();
var output = TheApplication().NewPropertySet();
input.SetProperty("Hierarchy Name", "AttachmentParams");
bsPMANI.InvokeMethod("CreateEmptyPropSet", input, output);
psChild = output.GetChild(0);
        
        
        psInput.SetProperty("ProcessName", sName); // Workflow process you want to execute

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center