Breadcrumbs

StatusStringToSpecialEvent

Description

The StatusStringToSpecialEvent transforms a formatted JSON String to a special event in Schedule. It's very useful if you want to transit booking events through a protocol which doesn't support by default Niagara Schedules (like MQTT)

  image2019-8-28_11-17-35.png

Implementation

  • Drag a StatusStringToSpecialEvent into a Schedule

  • Link a StatusString slot of a component containing the event to transform into the In slot

  • If you send a value like {"eventName": "Business Meeting","date": "2019-08-29T00:00:00+02:00","startTime": "15:30","endTime": "17:30","value": true} you will get a special event

image2019-8-28_11-16-42.png


Properties

  • Status: Displays the status of the component {fault} is something went wrong

  • FaultCause: Displays the error when the component did not run successfully

  • In: The incoming event to add to the schedule. Format example: {"eventName": "Business Meeting","date": "2019-08-29T00:00:00+02:00","startTime": "15:30","endTime": "17:30","value": true}