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

Unable to export Job Console output to file through Groovy rule in FCCS as well as PBCS

Summary:

Hi,

I am trying to export the Job Console output to a CSV file however it is not working and also unable to see any output file in the job console as well.

I can see the rule completed successfully in the Job console still no file attachment in the job as well.

I am using below Groovy rule to export the job console details.

String jobType = 'JOBCONSOLE_EXPORT'
String userNames = ''
String fileName = 'jobConsole_Custom_Export.csv'
String ndays = 30
String jobNames = ''
String jobTypes = 'ALL'
String jobStatusCodes = 'all'
String exportErrorDetails = 'false'
def parameters = ["userNames": userNames, "fileName": fileName, "ndays": ndays, "jobNames": jobNames, "jobTypes": jobTypes, "jobStatusCodes": jobStatusCodes, "exportErrorDetails": exportErrorDetails]

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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