/vfc-examples

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.

OtherNOASSERTION

MindSphere Visual Flow Creator Examples

The MDL License Documentation Forum

Welcome

  • You are interested in MindSphere?
  • 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 MindSphere 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 MindSphere Store. Or if you do not already have a MindSphere account, get one at MindSphere 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 IoT Extension ⭐ ⭐ IoT Extension
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 MindSphere -
Send SMS notifications Send SMS notifications and dynamically specify recipient -
Trend Prediction Example Application example which shows how to use trend prediction service to forecast timeseries data -
Virtual machine simulator -

Examples which have to be added:

Name Description Complexity Rating Prerequisites
IN PROGRESS: Set Flow variables via dashboard
TODO: Create dashboard for Fleet Manager
TODO: Integrate external API
TODO: Dashboard with dynamic data layer ⭐ ⭐

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

Example template

You want to create your own example? Just copy the template flow-directory, 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 MindSphere 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 MindSphere Developer Forum.

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

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