B-03412 | Add function to retrieve predecessor task output by specific line. | Two new functions have been added to allow access to specific lines from a task's output. As with the existing task output functions you will need to both Retrieve the output automatically and check the Wait for Output option to ensure that the task's output is available for processing. Image Added These functions can be used in task set variable actions to allow access to specific lines from the output of a task. ${_outputLines('outputType', startLine, numberOfLines[, 'defaultValue', 'resultDelimiter'])} or for sibling tasks ${_outputLinesFromTask('siblingName', 'outputType', startLine, numberOfLines[, 'defaultValue', 'resultDelimiter'])} For Example STDOUT Contains: License_OS_Type UNIX License_Type DEMO License_Expiration_Date 2020.04.30 YYYY.MM.DD License_NT_Servers 10000 License_UNIX_Servers 10000 License_OS400_Servers 10000 License_OS390_Servers 10000 License_OS390_Unix_Servers 10000 License_Key B1E9-AABD-E59A-8079-30BF-3B17-2E67-8D21 A set Variable Action For Status Success uses the new function: And the Global Variable is set as follows: ${_outputLinesByRegex('outputType', 'regexPattern'[, maxCount, numberOfLinesBefore, numberOfLinesAfter, 'defaultValue', 'resultDelimiter'])} or for sibling tasks ${_outputLinesByRegexFromTask('siblingName', 'outputType', 'regexPattern'[, maxCount, numberOfLinesBefore, numberOfLinesAfter, 'defaultValue', 'resultDelimiter'])} For Example STDOUT Contains: License_OS_Type UNIX License_Type DEMO License_Expiration_Date 2020.04.30 YYYY.MM.DD License_NT_Servers 10000 License_UNIX_Servers 10000 License_OS400_Servers 10000 License_OS390_Servers 10000 License_OS390_Unix_Servers 10000 License_Key B1E9-AABD-E59A-8079-30BF-3B17-2E67-8D21 A set Variable Action For Status Success uses the new function: And the Global Variable is set as follows: |
B-05005 | Automatic output retrieval only on task failure | This enhancement introduces a new check box "Failure Only" for task types that support automatic output retrieval. If the Failure Only option is checked the automatic output retrieval will only occur if the task status is FAILED (or transitions through a FAILED status). |