Input Translator to Workflow Inputs
Since your IoT Applications are built for maximum reuse, Workflows are designed to stand alone. That means that you need to map the output from your message to the Inputs on the Workflow. This is a relatively straight-forward process. You simply select the Message Field and the Workflow Input, then add the mapping.
When mapping the Message Field to the Input, make sure that you map to the same types. If a Unit Set or State Set is specified, those must also match.
Note: It is not important that all message fields map to your workflow input and that each workflow input has a message field. You will only be able to create mappings for types that are compatible. If you need to convert between types, you can add an additional workflow input that will match that of the field and use the OnSet script to execute any type conversions.**