A processor which can interact with a configurable Workday Report. The processor can forward the content without modification, or you can transform it by providing the specific Record Reader and Record Writer services based on your needs. You can also remove fields by defining schema in the Record Writer. Supported Workday report formats are: csv, simplexml, json
Workday, report
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
| Display Name | API Name | Default Value | Allowable Values | Description |
|---|---|---|---|---|
| Workday Report URL | Workday Report URL | HTTP remote URL of Workday report including a scheme of http or https, as well as a hostname or IP address with optional port and path elements. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) | ||
| Workday Username | Workday Username | The username provided for authentication of Workday requests. Encoded using Base64 for HTTP Basic Authentication as described in RFC 7617. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) | ||
| Workday Password | Workday Password | The password provided for authentication of Workday requests. Encoded using Base64 for HTTP Basic Authentication as described in RFC 7617. Sensitive Property: true Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) | ||
| Web Client Service Provider | Web Client Service Provider | Controller Service API: WebClientServiceProvider Implementation: StandardWebClientServiceProvider | Web client which is used to communicate with the Workday API. | |
| Record Reader | record-reader | Controller Service API: RecordReaderFactory Implementations: CEFReader SyslogReader ReaderLookup ProtobufReader Syslog5424Reader CSVReader GrokReader WindowsEventLogReader ScriptedReader AvroReader ParquetReader JsonPathReader ExcelReader JsonTreeReader YamlTreeReader XMLReader | Specifies the Controller Service to use for parsing incoming data and determining the data's schema. | |
| Record Writer | record-writer | Controller Service API: RecordSetWriterFactory Implementations: JsonRecordSetWriter RecordSetWriterLookup AvroRecordSetWriter XMLRecordSetWriter FreeFormTextRecordSetWriter CSVRecordSetWriter ParquetRecordSetWriter ScriptedRecordSetWriter | The Record Writer to use for serializing Records to an output FlowFile. This Property is only considered if the [Record Reader] Property has a value specified. |
| Name | Description |
|---|---|
| success | Response FlowFiles transferred when receiving HTTP responses with a status code between 200 and 299. |
| failure | Request FlowFiles transferred when receiving socket communication errors. |
| original | Request FlowFiles transferred when receiving HTTP responses with a status code between 200 and 299. |
| Name | Description |
|---|---|
| getworkdayreport.java.exception.class | The Java exception class raised when the processor fails |
| getworkdayreport.java.exception.message | The Java exception message raised when the processor fails |
| mime.type | Sets the mime.type attribute to the MIME Type specified by the Source / Record Writer |
| record.count | The number of records in an outgoing FlowFile. This is only populated on the 'success' relationship when Record Reader and Writer is set. |