Passed parameter goes as null when calling BI Report from groovy script
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',