You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Passed parameter goes as null when calling BI Report from groovy script

in Sales 2 comments

Summary:

Trying to call BI report from groovy script, but the parameter is going in as null

Content (required):

I am passing the parameter in the payload but it is going as null to the report. Tried making changes to the payload as suggested documents in support. But it is useless.

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

try {

 println("Entered :" + now())

 def accountNumber =

   getAttribute("LegacyAccountNumber_c");

 println("Account Number :" + accountNumber)


   if (accountNumber != null)

 {

   def reportRequest =

     [

       byPassCache : true,

       flattenXML : false,

       reportAbsolutePath : '/Custom/Financials/Receivables/Interfaces/Test Report.xdo',

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!