| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <workflow> |
| <name>0002-workflow</name> |
| <name_sync_with_filename>Y</name_sync_with_filename> |
| <description/> |
| <extended_description/> |
| <workflow_version/> |
| <workflow_status>0</workflow_status> |
| <created_user>-</created_user> |
| <created_date>2020/12/08 11:06:07.933</created_date> |
| <modified_user>-</modified_user> |
| <modified_date>2020/12/08 11:06:07.933</modified_date> |
| <parameters> |
| <parameter> |
| <name>TEST2_PARAMETER1</name> |
| <default_value/> |
| <description>Parameter1 without default</description> |
| </parameter> |
| <parameter> |
| <name>TEST2_PARAMETER2</name> |
| <default_value>default2</default_value> |
| <description>Parameter2 without default</description> |
| </parameter> |
| </parameters> |
| <actions> |
| <action> |
| <name>START</name> |
| <description/> |
| <type>SPECIAL</type> |
| <attributes/> |
| <repeat>N</repeat> |
| <schedulerType>0</schedulerType> |
| <intervalSeconds>0</intervalSeconds> |
| <intervalMinutes>60</intervalMinutes> |
| <hour>12</hour> |
| <minutes>0</minutes> |
| <weekDay>1</weekDay> |
| <DayOfMonth>1</DayOfMonth> |
| <parallel>N</parallel> |
| <nr>0</nr> |
| <xloc>128</xloc> |
| <yloc>96</yloc> |
| <attributes_hac/> |
| </action> |
| <action> |
| <name>Log parameter value</name> |
| <description/> |
| <type>WRITE_TO_LOG</type> |
| <attributes/> |
| <logmessage>TEST2_PARAMETER1 = >${TEST2_PARAMETER1}< |
| TEST2_PARAMETER2 = >${TEST2_PARAMETER2}<</logmessage> |
| <loglevel>Basic</loglevel> |
| <logsubject>Log parameter value</logsubject> |
| <parallel>N</parallel> |
| <nr>0</nr> |
| <xloc>368</xloc> |
| <yloc>96</yloc> |
| <attributes_hac/> |
| </action> |
| <action> |
| <name>Check DB connections</name> |
| <description/> |
| <type>CHECK_DB_CONNECTIONS</type> |
| <attributes/> |
| <connections> |
| <connection> |
| <name>testdb</name> |
| <waitfor>0</waitfor> |
| <waittime>millisecond</waittime> |
| </connection> |
| </connections> |
| <parallel>N</parallel> |
| <nr>0</nr> |
| <xloc>560</xloc> |
| <yloc>96</yloc> |
| <attributes_hac/> |
| </action> |
| <action> |
| <name>Abort workflow</name> |
| <description/> |
| <type>ABORT</type> |
| <attributes/> |
| <message>Problem checking testdb connection</message> |
| <parallel>N</parallel> |
| <nr>0</nr> |
| <xloc>720</xloc> |
| <yloc>96</yloc> |
| <attributes_hac/> |
| </action> |
| </actions> |
| <hops> |
| <hop> |
| <from>START</from> |
| <to>Log parameter value</to> |
| <from_nr>0</from_nr> |
| <to_nr>0</to_nr> |
| <enabled>Y</enabled> |
| <evaluation>Y</evaluation> |
| <unconditional>Y</unconditional> |
| </hop> |
| <hop> |
| <from>Log parameter value</from> |
| <to>Check DB connections</to> |
| <from_nr>0</from_nr> |
| <to_nr>0</to_nr> |
| <enabled>Y</enabled> |
| <evaluation>Y</evaluation> |
| <unconditional>N</unconditional> |
| </hop> |
| <hop> |
| <from>Check DB connections</from> |
| <to>Abort workflow</to> |
| <from_nr>0</from_nr> |
| <to_nr>0</to_nr> |
| <enabled>Y</enabled> |
| <evaluation>N</evaluation> |
| <unconditional>N</unconditional> |
| </hop> |
| </hops> |
| <notepads> |
| </notepads> |
| <attributes/> |
| </workflow> |