Skip to content

Visual Flow Creator Examples - By cloning or downloading this repository, you accept the MindSphere Development License Agreement, which you can read by following the link https://developer.mindsphere.io/license.html.

License

Notifications You must be signed in to change notification settings

mindsphere/vfc-examples

Repository files navigation

Insights Hub Visual Flow Creator Examples

Documentation Forum

Welcome

  • You are interested in Insights Hub?
  • You want to know, what you can do with it?
  • You've heard about Visual Flow Creator and want to try it out?
  • You know already Visual Flow Creator but search for examples?
  • You want to get inspired by other flows from the community?

This repository provides example flows to be used in Insights Hub Visual Flow Creator (VFC). You can use them and try it out to get an impression what is possible. Additionally you can customize them to your use cases. And of course you can contribute to this repository and share your knowledge to others.

If you do not have already purchased the app, you can get it in the Insights Hub Store. Or if you do not already have a Insights Hub account, get one at Insights Hub Start.

How does this work

In the next chapter you will find example flows. There is always a readme with a short description, what this flow does. There is an image showing the flow to get an impression of the complexity.

And there is the most important thing - the json file, which you can import as a new flow into your Visual Flow Creator.

Please note, that the json-files are exported from another tenant. So their might be fields which you have to adapt, that the flow is able to run in your tenant.

Example Overview

Current examples in this repository for Visual Flow Creator (VFC):

Name Description Complexity Rating Prerequisites
Command MQTT devices connected via MindConnect Send commands back to a device via MindConnect MQTT MindConnect MQTT connected device
Create custom API endpoints -
Create rule for asset type Create a rule for all assets of this type -
Data Lake - timeseries import Setup scheduled trigger to start import of data from timeseries storage to Integrated Data Lake Integrated Data Lake
Data Lake - generate access token Provides an API endpoint which feedbacks an access token for IDL data Integrated Data Lake
Generate sample data Demo data for different data types in Insights Hub -
Send SMS notifications Send SMS notifications and dynamically specify recipient -
Virtual machine simulator -
Write location data to your Asset Write locational information directly to your Asset using the Asset Management API -
VFC Dashboard - Getting Started Guide Create a dynamic Dashboard completely from scratch and learn the basics of VFC Dashboarding -
Integrate external API

You can add here your ideas or requests for further examples.

Example template

You want to create your own example? Just copy an existing folder, adapt it and send us your pull request.

Remarks

Please note that the screenshots show just the current state, when these examples have been created. They might differ to the latest software release.

Each flow has to be adapted to your tenant. Ensure, that e.g. fixed tenant names or asset ids are adapted before/after you import the flow.

Prerequisites

All application examples shown in this repository require the Insights Hub Application Visual Flow Creator (VFC).

To use them, ensure that

If you can see Visual Flow Creator on your Launchpad, you're ready to start developments.

Import of Examples

  • To import any of the examples shown in this repository, launch the VFC.
  • In the menu, select Import and paste the JSON template as found in the application examples.
  • Drop the nodes in the editor and save the just imported flow.

image

Questions and answers

Feel free to ask your questions in the Insights Hub Developer Forum.

Or open an issue if you find a bug in our examples.

You want to contribute? Your pull request is always welcome!!!

About

Visual Flow Creator Examples - By cloning or downloading this repository, you accept the MindSphere Development License Agreement, which you can read by following the link https://developer.mindsphere.io/license.html.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published