Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note3: It is recommended to set the interval to 1 second if the action should be executed for every event code (e.g. in the case of sending alert messages), but should be increased if it is not desirable to execute several workflows in a short period (e.g. the case of creating web reports). It also needs the "template task" with the relevant tag scheduled (in suspended mode) as a single/one-off task.

Uploading multiple action configurations

You can upload any number of action configurations in one file if you click on "Upload multiple configurations" button. This feature is available since 2019.02. If you click the checkbox "Default", all uploaded configurations will be set as default. If there are no configurations in the database that share an action ID with the new uploaded configuration, it will be set to default automatically. If the set default checkbox is not checked, the new configurations will appear in the lists of versions under the same action id.

Example for multipole upload:

Code Block
languagexml
linenumberstrue
<?xml version="1.0" encoding="UTF-8"?>
<eventActions  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:///C:/Developement/trunk/master-controller/src/main/resources/schemas/eventactions.xsd">
	<eventAction actionConfigurationId="New Zeland" description="Description">
		<enhance>
			<tag name="AIRE_FORECAST"/>
			<resume/>
		</enhance>
	</eventAction>
	<eventAction actionConfigurationId="newId" description="Description2">
		<enhance>
			<tag name="Denver"/>
			<suspend/>
		</enhance>
	</eventAction>
	<eventAction actionConfigurationId="EDEN_ID" description="Description3">
		<enhance>
			<tag name="EDEN_FORECAST"/>
			<repeatinterval interval="3600"/>
		</enhance>
	</eventAction>
	<eventAction actionConfigurationId="EXPORT_ID" description="Description4">
		<oneoff>
			<cardinaltime interval="900" reference="2004-01-01T00:00:00.000+00:00"/>
			<tag name="EXPORT_CURRENT"/>
		</oneoff>
	</eventAction>
</eventActions>


You can download all active (default) configurations in this same format by clicking download. The single action configuration format is available for download from the list of versions under the same action id.


Example of a scheduled (and suspended) task in the Admin Interface

...