Skip to content

Commit fe25bd0

Browse files
updates
1 parent c106929 commit fe25bd0

3 files changed

Lines changed: 60 additions & 3 deletions

File tree

content/en/docs/releasenotes/workstation/_index.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,57 @@ These release notes cover changes made to the [Mendix Workstation](/mendix-works
1414

1515
### Release date: April ??, 2026
1616

17+
### Workstation Management
18+
19+
* Testing improvements - We have enhanced the **Test Your Station** page by making it simpler to send messages to devices without enforcing strict validations. In addition, the page now displays the connection status for each device, as well as the last recorded error, if any.
20+
21+
#### New Features
22+
23+
test coverage
24+
25+
### Workstation Client
26+
27+
#### New Features
28+
29+
SetupDevice
30+
SetupDevice(name, class, initialize, createDevice, entity, onConnect, onMessage, onDisconnect)
31+
32+
A new high-level API makes creating reusable peripheral modules easier. Solves get/create race condition and doesn't require any use of subscription APIs.
33+
34+
Other additions
35+
36+
37+
38+
removes Station_User association
39+
40+
fixes ParseTighteningResultRevision001 name
41+
42+
moved all subscription JSAs into _USE_ME/Subscriptions
43+
44+
adds /rest/stationconnector/publickey API for future app-key setup improvements
45+
46+
### Fixes
47+
48+
fixes bug where not receiving devices list wouldn't trigger connection timeout - now using shared abort signal
49+
50+
fixes bug where late discovered devices aren't added to internal device list
51+
52+
fixes bug where callbacks fail after object arguments are garbage collected - now keeps subscriptions to all objects that we hold to prevent garbage collection
53+
54+
fixes bug where new devices aren't connectable
1755

1856

1957
### Deprecations
2058

2159
* We have removed support for named events using strings and string expressions instead of object attributes.
60+
* We have deprecated the following actions:
61+
62+
* `SendMessage` and `WaitForResponse` - Deprecated in favor of `SendDeviceMessage` and `WaitForDeviceMessage`
63+
* `SubscribeToMessages` (with `subscribeOnce` and implicit connection) - Deprecated in favor of `SubscribeToDeviceMessages`, `Unsubscribe`, and `ConnectDevice`
64+
* `SubscribeToErrors` (with `subscribeOnce` and implicit connection) - Deprecated in favor of `SubscribeToDeviceErrors`, `Unsubscribe`, and `ConnectDevice`
65+
* `UnsubscribeByDevice` and `UnsubscribeByContext` - Deprecated in favor of `Unsubscribe`
2266

67+
The deprecated actions are longer exposed as nanoflows and have been moved to the `_USE_ME/Deprecated` folder.
2368

2469
## 3.5.0
2570

content/en/docs/workstation/wks-build-app.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ To change a user's role or remove them from the workspace, click the three-dot i
6565

6666
## Getting Started with Custom Logic for Device Interaction
6767

68-
Now that you are ready to start using Mendix Workstation, you can implement your own custom logic for interacting with devices. The following nanoflows and Java actions are essential for establishing connections, sending or receiving messages, and managing device interactions:
68+
Now that you are ready to start using Mendix Workstation, you can implement your own custom logic for interacting with devices. The following nanoflows and actions serve as the core building blocks for integrating devices into your Mendix applications and tailoring the functionality to your specific requirements.
69+
70+
### Nanoflows
71+
72+
The following nanoflows and Java actions are essential for establishing connections, sending or receiving messages, and managing device interactions:
6973

7074
* **GetStation** - Retrieves the computer information connected to the Client.
7175
* **SendDeviceMessage** - Sends data or commands to the connected device. For more information about the supported message syntax, see [Message Syntax for File, Smart Card, and Bluetooth Devices](/mendix-workstation/device-syntax/).
@@ -78,10 +82,18 @@ Now that you are ready to start using Mendix Workstation, you can implement your
7882
* **SetupDevice** - Creates and configures a device with the specified parameters.
7983
* **ConnectDevice** - Connects to a specific device.
8084
* **DisconnectDevice** - Unsubscribes and completely disconnects from a specific device.
85+
* **Initialize** - Initializes the Client without creating a station or device.
86+
* **GetStation** - Retrieves the Station object.
87+
* **CreateStation**, **CommitStation**, **CreateDevice**, **CommitDevice** - Internal nanoflows, required to support the React strict mode.
8188

89+
### Widgets
8290

91+
The following widgets allow you to specify when to execute an action:
8392

84-
These nanoflows and actions serve as the core building blocks for integrating devices into your Mendix applications and tailoring the functionality to your specific requirements.
93+
* **On Load/Unload** - Execute the action when the widget is first rendered, or when it is removed (unloaded).
94+
* **On Change** - Execute the action when the specified attribute changes.
95+
* **On Equal** - Execute the action when an attribute is equal to the specified expression.
96+
* **On True** - Execute the action when the specified expression is true.
8597

8698
### Understanding the Domain Model
8799

content/en/docs/workstation/wks-message-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The section below shows a sample test that you can run to verify the configurati
6565
* **Allow writing files** - **Yes**
6666
* Use the default values for everything else
6767
4. Register the Station to your computer (assuming the Workstation Client is installed there).
68-
5. In your Workspace, navigate to **Test Your Station** and click on the configured file device.
68+
5. In your Workspace, navigate to **Test Your Station** and click **Test** by the configured file device.
6969
6. Enter `3#test.txt#Hello from Mendix` in the **Send Message** field, and then press **Send Message**.
7070

7171
The test should show a response like `S#3#C:\MyTestFolder\test.txt` to indicate that the text file *test.txt* was successfully written to *MyTestFolder*.

0 commit comments

Comments
 (0)