-
Motivation
Since you are going through this training, you would also know what a Workflow is. It is a flow diagram that describes what happens on the wearable device. It also defines what is shown to the user, which actions they can take, and what happens based on those actions. In the previous training, you learned how to create a…
-
Media
You can use image, audio, and video assets in your workflows. Adding assets to your workflow You can add assets to your workflow in Frontline Creator using the Media Resource panel on the left. The following file formats are allowed: JPEG and PNG for images WAV, MP3, and OGG for audio content MP4 for video content Using…
-
Finish Workflow
When a workflow is initiated by another existing workflow, the existing one pauses as the sub-workflow begins to run. Upon finishing the sub-workflow, it is then terminated while the first workflow resumes and becomes active again. However, if the sub-workflow happens to be the root workflow, it cannot be terminated.…
-
UI update
Passes new content to the UI and refreshes it. Identifier: ui_update Elements widget_params: References the UI elements that have to be changed instead of using pre-defined parameters. Required: Yes Default value: Empty Content of widget_params widget_params is a list of ui_element. ui_element: Contains the parameters,…
-
Speech Modify Commands
Modifies the list of available speech commands. Identifier: speech_modify_commands_in_grammar Attributes modification: This enables the user to add or remove commands. Possible values: add_commands, remove_commands, remove_all_commands Required: Yes Default value: Empty reset_before: Removes all commands in a particular…
-
Play Sound
Plays a specified sound. Identifier: play_sound Attributes sound: Contains a string identifying the sound that should be played. Either a predefined sound or an asset can be used to reference media (e.g., MP3, WAV). Required: Yes Default value: Empty loop: Plays a sound in an endless loop. To stop the sound, see…
-
Initiate a workflow
Attributes template: Name of the template of which we want the workflow Required: Yes include_tasks: If true, whatever is defined as template could also be a task Required: No Default value: True Output WORKFLOW_EXTRACTED: The Workflow was successfully extracted from the given template Payload: wf_uri can be used as "wf"…
-
Request Binding
Pairs an external device. Identifier: request_binding Elements device_id: The ID of the device you want to pair. For xBands, this is the data matrix code attached to the band. Required: True Default Value: Empty timeout_ms: Timeout in milliseconds after which an event is initiated. Required: Depends Default Value: Empty…
-
Start Camera
Starts the camera. Identifier: start_camera Example <start_camera id="start_cam"/>
-
Send Pick Event
Sends a pick event to the server. Identifier: send_pick_event Elements pick_event: Contains the pick event type (e.g., CANCEL_PICK_GROUP). Type: String Default value: CONFIRM_PICK_ORDER connection_timeout: If no response is received from the server after a specified time (in seconds), the request is aborted. Type: Long…