This routine publishes the event as it is on the zircon API amqp topic (amq.topic) using the f.z.e.*.*.zircon-event.#
routing key
{
"name": "publish_to_zircon-2",
"rootVenueScopeId": "42",
"description": "publish to zircon",
"routineType": "PUBLISH_TO_ZIRCON",
"executionOrder": 1,
"conditionalExpression":"assignedAssetDto!=null"
}
Field | Description | Possible values |
---|---|---|
name | The name of the routine. | Any text (has to be unique) For example:
|
description | The description of the routine. | Any text. For example:
|
rootVenueScopeId | Delivered by Favendo. This is the ID of the venue. | A specific integer |
routineType | The type of the routine. | PUBLISH_TO_ZIRCON |
body | Only needed when the routineType “HTTP_WEB_HOOK_ROUTINE” is selected. | N.A. |
requestUrl | Only needed when the routineType “HTTP_WEB_HOOK_ROUTINE” is selected. | N.A. |
httpMethod | Only needed when the routineType “HTTP_WEB_HOOK_ROUTINE” is selected. | N.A. |
httpHeaders | Only needed when the routineType “HTTP_WEB_HOOK_ROUTINE” is selected. | N.A. |
Title | Only needed when the routineType “NOTIFICATION” is selected. | N.A. |
Text | Only needed when the routineType “NOTIFICATION” is selected. | N.A. |
Priority | Only needed when the routineType “NOTIFICATION” is selected. | N.A. |
targetList | Only needed when the routineType “NOTIFICATION” is selected. | N.A. |
durationInSeconds | Only needed when the routineType “NOTIFICATION” is selected. | N.A. |
executionOrder | Describes the order of the routines executions in case a managed event has more than one routine assigned. | Integer |
conditionalExpression | Condition that needs to be met in order for the routine to be executed. It is expressed in SpEL, and it always needs to return a boolean value. The expression can also reference properties from the triggered event. If the field is empty, the routine is always executed (defaults to true). For SpEL docs see https://docs.spring.io/spring-framework/docs/4.1.x/spring-framework-reference/html/expressions.html | Spring expression language. See 04. Spring expression language for more information. |