Repository navigation
fix(connections): send boolean activity params as true/false - #1936
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The implementation matches the stated behavior, preserves non-boolean values, and includes focused regression coverage.
0 open findings
What changed in this PR
Corrects Integration Service activity serialization so boolean parameters use lowercase wire values.
Changes:
- Adds shared boolean parameter serialization.
- Covers query, header, path, and multipart parameters with tests.
- Bumps
uipath-platformto 0.2.35.
| File | Description |
|---|---|
packages/uipath-platform/src/uipath/platform/connections/_connections_service.py |
Serializes boolean activity parameters as true/false. |
packages/uipath-platform/tests/services/test_connections_service.py |
Tests boolean serialization across parameter locations. |
packages/uipath-platform/pyproject.toml |
Bumps package version. |
packages/uipath-platform/uv.lock |
Updates locked package version. |
packages/uipath/uv.lock |
Updates the parent package’s local dependency lock. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
radu-mocanu
approved these changes
Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
true/falseinstead of Python'sTrue/False.uipath-platformto 0.2.35.Why
_build_activity_request_specconverted every value withstr(value), so a boolean tool argument went out as?saveAsDraft=True. The IS connector hooks compare these values to the lowercase string, for examplerequestParams?.saveAsDraft == 'true'in the GmailEmailReply/ForwardMailV2and Outlooksend-mail-v2/ReplyToEmailV2hooks. The check fails, so "Save as draft" is ignored and the email is sent. The same check is used forreplyToAll,markAsRead,includeSubfoldersand other flags.Reported by a customer in UV-16521 (Gmail "Reply to Email" with "Save as draft" set as a static value). The .NET agent executor already sends lowercase values. Maestro hit the same issue in ENGCE-56530.
Testing
saveAsDraft=Trueand saved as a draft withsaveAsDraft=true.'True' == 'true'.